diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-08-29 15:59:02 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-08-29 18:49:31 +0100 |
commit | ce83a0afe0a51c9b8ab75e89d23f45c3ebf2be93 (patch) | |
tree | 1cb88b939109007383f4dec3da61e1b66c6d76cc /tests.branching/checkout-non-aliased-repos.stdout | |
parent | 34c03048cc99e8a8abeb3e3c99574a92a2acb00a (diff) | |
download | morph-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/checkout-non-aliased-repos.stdout')
-rw-r--r-- | tests.branching/checkout-non-aliased-repos.stdout | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests.branching/checkout-non-aliased-repos.stdout b/tests.branching/checkout-non-aliased-repos.stdout index 75dcd63d..872d74aa 100644 --- a/tests.branching/checkout-non-aliased-repos.stdout +++ b/tests.branching/checkout-non-aliased-repos.stdout @@ -12,6 +12,7 @@ d ./master/TEMP_DIR d ./master/DATADIR d ./master/DATADIR/morphs d ./master/DATADIR/morphs/.git +f ./master/.morph-system-branch/branch-root f ./master/DATADIR/morphs/hello-stratum.morph f ./master/DATADIR/morphs/hello-system.morph Current branches of repo with suffix: @@ -30,6 +31,7 @@ d ./master/TEMP_DIR d ./master/DATADIR d ./master/DATADIR/morphs d ./master/DATADIR/morphs/.git +f ./master/.morph-system-branch/branch-root f ./master/DATADIR/morphs/hello-stratum.morph f ./master/DATADIR/morphs/hello-system.morph Current branches of repo without suffix: |