diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2014-09-02 11:43:31 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-11-05 13:30:39 +0000 |
commit | cc89fd43185f04408f8d4daebc538e776b3411f9 (patch) | |
tree | ce81308490ce2d92c86bf69bd9e4d012e28d1dd8 /morphlib | |
parent | 960616f9fdb11c790d935ad1403e742e87dccb5b (diff) | |
download | morph-cc89fd43185f04408f8d4daebc538e776b3411f9.tar.gz |
Add status message on successful `morph checkout` / `morph branch`sam/no-git-update-fixes
The message tells the user where the newly created directory is.
Diffstat (limited to 'morphlib')
-rw-r--r-- | morphlib/plugins/branch_and_merge_plugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/morphlib/plugins/branch_and_merge_plugin.py b/morphlib/plugins/branch_and_merge_plugin.py index b7d22f43..566b1073 100644 --- a/morphlib/plugins/branch_and_merge_plugin.py +++ b/morphlib/plugins/branch_and_merge_plugin.py @@ -125,6 +125,8 @@ class BranchAndMergePlugin(cliapp.Plugin): if not self.app.settings['no-git-update']: gd.update_remotes() + self.app.status( + msg='Created system branch directory %s' % root_dir) except morphlib.sysbranchdir.SystemBranchDirectoryAlreadyExists as e: logging.error('Caught exception: %s' % str(e)) raise @@ -185,7 +187,6 @@ class BranchAndMergePlugin(cliapp.Plugin): gd.fat_init() gd.fat_pull() - def branch(self, args): '''Create a new system branch. |