diff options
Diffstat (limited to 'morphlib/workspace.py')
-rw-r--r-- | morphlib/workspace.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/morphlib/workspace.py b/morphlib/workspace.py index 93f699e6..27ccbe65 100644 --- a/morphlib/workspace.py +++ b/morphlib/workspace.py @@ -87,6 +87,11 @@ class Workspace(object): dirname, root_repository_url, system_branch_name) return sb + def list_system_branches(self): + return (morphlib.sysbranchdir.open(dirname) + for dirname in + morphlib.util.find_leaves(self.root, '.morph-system-branch')) + def open(dirname): '''Open an existing workspace. |