summaryrefslogtreecommitdiff
path: root/tests.branching/edit-checkouts-existing-chunk.script
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-17 15:18:24 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-17 18:46:38 +0100
commitd08d0afa388c8767a2e6eb13b8ba0c53e531e23f (patch)
treeba986d0a282f141c10bd98a23dff1bdc3a55b8e3 /tests.branching/edit-checkouts-existing-chunk.script
parentad437ca48f49c0d5a8581a73175d38afc9d3f973 (diff)
downloadmorph-d08d0afa388c8767a2e6eb13b8ba0c53e531e23f.tar.gz
Update branching tests to use 'morph foreach'
Diffstat (limited to 'tests.branching/edit-checkouts-existing-chunk.script')
-rwxr-xr-xtests.branching/edit-checkouts-existing-chunk.script9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests.branching/edit-checkouts-existing-chunk.script b/tests.branching/edit-checkouts-existing-chunk.script
index bc1650b7..5e0d7bc9 100755
--- a/tests.branching/edit-checkouts-existing-chunk.script
+++ b/tests.branching/edit-checkouts-existing-chunk.script
@@ -26,13 +26,12 @@ cd "$DATADIR/workspace"
"$SRCDIR/scripts/test-morph" checkout baserock:morphs alfred
# Edit the hello chunk in alfred.
+cd "alfred"
"$SRCDIR/scripts/test-morph" edit hello-system hello-stratum hello
-echo "Current branches, morphs:"
-"$SRCDIR/scripts/run-git-in" "$DATADIR/workspace/alfred/baserock:morphs" branch
-
-echo "Current branches, hello:"
-"$SRCDIR/scripts/run-git-in" "$DATADIR/workspace/alfred/baserock:hello" branch
+echo "Current branches:"
+"$SRCDIR/scripts/test-morph" foreach git branch
+echo
echo "Files in hello:"
ls "$DATADIR/workspace/alfred/baserock:hello"