summaryrefslogtreecommitdiff
path: root/tests.branching/edit-checkouts-existing-chunk.script
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-08-29 15:59:02 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-08-29 18:49:31 +0100
commitce83a0afe0a51c9b8ab75e89d23f45c3ebf2be93 (patch)
tree1cb88b939109007383f4dec3da61e1b66c6d76cc /tests.branching/edit-checkouts-existing-chunk.script
parent34c03048cc99e8a8abeb3e3c99574a92a2acb00a (diff)
downloadmorph-ce83a0afe0a51c9b8ab75e89d23f45c3ebf2be93.tar.gz
Remember repository that was branched off from for merging and editing
With this commit, "morph branch" and "morph checkout" remember the repository that was branched off from (the "branch root") in a special file called $workspace/$branch/.morph-system-branch/branch-root This information is later used when checking out individual repositories using "morph edit" instead of using the previously hard-coded "$workspace/$branch/morphs" repository as the branch root. This commit also updates the "morph merge" code to handle repositories specified with aliases or as full URLs in the same way "morph checkout" does. All affected tests are updated.
Diffstat (limited to 'tests.branching/edit-checkouts-existing-chunk.script')
-rwxr-xr-xtests.branching/edit-checkouts-existing-chunk.script4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests.branching/edit-checkouts-existing-chunk.script b/tests.branching/edit-checkouts-existing-chunk.script
index b8480a5b..1c8e66cd 100755
--- a/tests.branching/edit-checkouts-existing-chunk.script
+++ b/tests.branching/edit-checkouts-existing-chunk.script
@@ -33,7 +33,7 @@ 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/hello" branch
+"$SRCDIR/scripts/run-git-in" "$DATADIR/workspace/alfred/baserock:hello" branch
echo "Files in hello:"
-ls "$DATADIR/workspace/alfred/hello"
+ls "$DATADIR/workspace/alfred/baserock:hello"