summaryrefslogtreecommitdiff
path: root/morphlib/sysbranchdir_tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix system branch dirname generation to avoid colonsLars Wirzenius2014-03-061-3/+3
|
* util: add find_leaves() supplimenting find_leaf()Richard Maw2013-09-171-1/+1
| | | | | | | | | | | | | | | The workspace needs to be able to list all its system branches, and the system branches need to be able to list all their git repositories. This is broadly the same thing, just with a different directory to look out for, so provide that utility in morphlib.util. find_leaf() is rewritten to use find_leaves(), this is less efficient since it waits until every leaf is found. I felt it was better to reduce the code than maintain a slightly more optimal algorithm. The find_leaf() algorithm could become more optimal if it could lazily check for at least one result in a generator.
* Add SystemBranchDirectory.get_filename methodLars Wirzenius2013-08-141-0/+9
|
* Remove unused argument from SystemBranchDirectory.clone_cached_repoLars Wirzenius2013-08-141-3/+2
| | | | | For some reason, there was an unused argument in the method. Remove it from the definition and all call sites.
* Add SystemBranchDirectory classLars Wirzenius2013-08-061-0/+213