diff options
Diffstat (limited to 'yarns/branches-workspaces.yarn')
-rw-r--r-- | yarns/branches-workspaces.yarn | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/yarns/branches-workspaces.yarn b/yarns/branches-workspaces.yarn index 27bddff5..6ccbe28f 100644 --- a/yarns/branches-workspaces.yarn +++ b/yarns/branches-workspaces.yarn @@ -212,6 +212,36 @@ fields when referring to strata, when it didn't before. AND in branch foo, system systems/test-system.morph refers to core without ref FINALLY the git server is shut down +`morph get-repo` can be used to just clone and checkout a repository, +without changing the morphologies in definitions. + + SCENARIO morph get-repo checks out a repository + GIVEN a workspace + AND a git server + WHEN the user creates a system branch called foo + AND the user gets the repo for chunk test-chunk in branch foo + THEN morph succeeded + AND the repo for chunk test-chunk was cloned into the system branch foo + +We can also specify the directory to clone the repo into. + + WHEN the user gets the repo for chunk test-chunk from branch foo in directory foo + THEN morph succeeded + AND the repo for chunk test-chunk was cloned into the directory foo + +A ref to checkout can also be specified. + + WHEN the user gets the repo for chunk test-chunk from branch foo in directory bar at ref master + THEN morph succeeded + AND the repo for chunk test-chunk was cloned into the directory bar + AND the repo in directory bar has HEAD master + +This should not work if the directory already exists. + + WHEN the user attempts to get the repo for chunk test-chunk from branch foo in directory foo + THEN morph failed + FINALLY the git server is shut down + Temporary Build Branch behaviour -------------------------------- |