summaryrefslogtreecommitdiff
path: root/tests.branching/edit-checkouts-existing-chunk.stdout
Commit message (Collapse)AuthorAgeFilesLines
* foreach: sort repositories asciibeticallyRichard Maw2013-09-161-3/+3
| | | | | | | | | | | | | | | | | | | The test suite checks the output of the foreach command, this requires repositories to be returned in a stable order. The order returned from os.listdir differs by the filesystem used. btrfs returns roughly in insertion order, tmpfs alphabetically. This allowed the failure to sort pass through unchecked, since I was testing on btrfs, but people discovered issues when using /tmp, which is a tmpfs. To fix this, foreach sorts the result of list_git_directories() by directory name. The previous code would always return the root repository first, this was a unnecessary complication, so now everything is returned asciibetically and the tests amended to reflect this.
* b&m: Re-implement morph foreachRichard Maw2013-09-041-0/+1
| | | | | | | | | | | | | | The previous version attempted to separate the output of the commands run with newlines by printing a newline at the beginning if it wasn't the first repository. The check it used was for the first repository was flawed by assuming that the root repository was the first repository processed. Since the complication was not worth keeping the output identical, it has been changed to separate by printing a newline after every command and the test output has been amended to include the extra trailing newline.
* tests: Use test: URL prefix instead of baserock: throughoutSam Thursfield2012-11-071-2/+2
| | | | | | | | | | Some tests already used test: and in order to be able to share the scripts/setup-3rd-party-strata script they need to all use the same prefix. Using baserock: implies that we are using real code from Baserock, so I picked test: because the tests only ever use mock morphologies and no real code.
* Update branching tests to use 'morph foreach'Sam Thursfield2012-09-171-2/+5
|
* Update the stderr and stdout files for the tests.Daniel Silverstone2012-09-141-1/+0
| | | | | | Rework the test outputs to match reality. This is due to tweaks in how morph edit/checkout gets its repository now that the copy-from-cache is marginally more like a traditional clone in terms of what you get at the end.
* Fix filenames of test morphologiesLars Wirzenius2012-05-171-1/+1
|
* Make morph's _clone_to_directory use CachedRepo.checkoutLars Wirzenius2012-05-041-1/+2
| | | | | | | | | This requires changing CachedRepo.checkout to handle non-sha1 refs, which resulted in some further changes in tests and their expected outputs. Also, a fix to CachedRepo to use the cwd keyword argument instead of pwd.
* Change "checkout existing branch" test to not check out masterLars Wirzenius2012-03-261-1/+2
| | | | Checking out another branch exposed a bunch of bugs.
* Verify that "morph edit" checks out a working treeLars Wirzenius2012-03-231-0/+2
|
* Make "morph edit" work when chunk already has the branchLars Wirzenius2012-03-231-0/+4