summaryrefslogtreecommitdiff
path: root/tests.branching/checkout-non-aliased-repos.script
Commit message (Collapse)AuthorAgeFilesLines
* Tidy up command testsSam Thursfield2012-11-141-6/+5
| | | | Be consistent about placement of test description, blank lines, etc.
* Simplify checkout-non-aliased-repos testRichard Maw2012-10-261-12/+2
| | | | | | | | | | The output of the list-tree depended on the value of TMPDIR. Instead we replace this with a test that the required directory exists. merge-with-stratum-renamed also fails with a TMPDIR different to /tmp, but I have no idea why. Signed off by Daniel Silverstone in person
* Rework the blackbox tests for bare caches.Daniel Silverstone2012-09-141-0/+2
| | | | | | This reworks the blackbox tests to work with the bare repository caches. For the most part it's slight changes to error messages and tweaks to ignore the repository caches during file listing.
* Make "morph checkout" require a repository parameterJannis Pohlmann2012-08-291-0/+61
Instead of hard-coding "baserock:morphs" as the repository we check out from, we want to allow people to check out from arbitrary repositories with system and stratum morphologies. This commit adds a mandatory repository parameter to "morph checkout". This parameter can either be an aliased repo, e.g. baserock:morphs, or a full repo URL such as ssh://gitano@git.baserock.org/baserock/morphs. When cloning the actual repository into a local directory, the following happens: For alias repos baserock:morphs and baserock:foo/bar, the repositories would be cloned into the directories $workspace/$branch/baserock:morphs and $workspace/$branch/baserock:foo/bar. For repos specified using full URLs, the scheme and .git suffix (if present) are stripped off. The above ssh example would be cloned into the following directory: $workspace/$branch/gitano@git.baserock.org/baserock/morphs This commit also adjusts all affected tests and adds a new test to verify that checking out from full repo URLs works as expected.