diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-07-31 16:16:20 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-08-01 13:27:53 +0000 |
commit | 9370ccddabbbe89120710732d9029e61f3c97cb8 (patch) | |
tree | 49e9ae68d7cf38a8d6de055fbe8381b015ec1072 /morphlib/app.py | |
parent | 5406a395ae8940bc7fd58fe6f3b7647fa4f4dceb (diff) | |
download | morph-9370ccddabbbe89120710732d9029e61f3c97cb8.tar.gz |
move command show-system-branch to plugin
deduce_system_branch is now duplicated because other commands
not yet moved require it.
Diffstat (limited to 'morphlib/app.py')
-rwxr-xr-x | morphlib/app.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/morphlib/app.py b/morphlib/app.py index 50fdbca5..dbcf2c2b 100755 --- a/morphlib/app.py +++ b/morphlib/app.py @@ -643,18 +643,6 @@ class Morph(cliapp.Application): return os.path.dirname(cwd[len(minedir):]) - def cmd_show_system_branch(self, args): - '''Print name of current system branch. - - This must be run in the system branch's ``morphs`` repository. - - ''' - - system_branch = self._deduce_system_branch() - if system_branch is None: - raise cliapp.AppException("Can't determine system branch") - self.output.write('%s\n' % system_branch) - def cmd_edit(self, args): '''Edit a component in a system branch.''' |