diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-08-30 13:35:45 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-08-30 14:45:06 +0000 |
commit | 332b39f5df8a70f0c0146189a28d465da493e441 (patch) | |
tree | f0499b68f227fc3d3c4ae9ad96d49fe5ac1cf8a1 /tests.branching/checkout-works-anywhere.stdout | |
parent | 8247661b26f7232038bac95c64780121e9691db5 (diff) | |
download | morph-332b39f5df8a70f0c0146189a28d465da493e441.tar.gz |
Fix branch/checkout to always create branches in the workspace directory
Doing this rather than creating the system branches in the current working
directory allows "morph branch" and "morph checkout" to be run anywhere in
the workspace (e.g. in a different branch).
This commit also adds two tests to verify that new branches are always
created in the toplevel workspace directory.
Diffstat (limited to 'tests.branching/checkout-works-anywhere.stdout')
-rw-r--r-- | tests.branching/checkout-works-anywhere.stdout | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tests.branching/checkout-works-anywhere.stdout b/tests.branching/checkout-works-anywhere.stdout new file mode 100644 index 00000000..0cd18b85 --- /dev/null +++ b/tests.branching/checkout-works-anywhere.stdout @@ -0,0 +1,35 @@ +Workspace after checking out master from the workspace directory: +d . +d ./.morph +d ./.morph/cache +d ./.morph/cache/gits +d ./.morph/cache/gits/file_morphs +d ./.morph/cache/gits/file_morphs/.git +d ./master +d ./master/.morph-system-branch +d ./master/baserock:morphs +d ./master/baserock:morphs/.git +f ./master/.morph-system-branch/branch-root +f ./master/baserock:morphs/hello-stratum.morph +f ./master/baserock:morphs/hello-system.morph +Workspace after checking out master from within a new branch: +d . +d ./.morph +d ./.morph/cache +d ./.morph/cache/gits +d ./.morph/cache/gits/file_morphs +d ./.morph/cache/gits/file_morphs/.git +d ./master +d ./master/.morph-system-branch +d ./master/baserock:morphs +d ./master/baserock:morphs/.git +d ./newbranch +d ./newbranch/.morph-system-branch +d ./newbranch/baserock:morphs +d ./newbranch/baserock:morphs/.git +f ./master/.morph-system-branch/branch-root +f ./master/baserock:morphs/hello-stratum.morph +f ./master/baserock:morphs/hello-system.morph +f ./newbranch/.morph-system-branch/branch-root +f ./newbranch/baserock:morphs/hello-stratum.morph +f ./newbranch/baserock:morphs/hello-system.morph |