summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-07-04 13:19:39 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-07-05 14:35:46 +0000
commitccc53e9574a5c921e1c522877f8ded5a15ceac32 (patch)
treed78bc942fbd54a1141057a55a8a94900f81159e3
parent4a082e31e38331200ca00de2d1fb696ef898c079 (diff)
downloaddefinitions-ccc53e9574a5c921e1c522877f8ded5a15ceac32.tar.gz
Improve docstring for "morph show-branch-root"
-rw-r--r--morphlib/plugins/branch_and_merge_plugin.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/morphlib/plugins/branch_and_merge_plugin.py b/morphlib/plugins/branch_and_merge_plugin.py
index 9536209f..21011b4e 100644
--- a/morphlib/plugins/branch_and_merge_plugin.py
+++ b/morphlib/plugins/branch_and_merge_plugin.py
@@ -2021,7 +2021,16 @@ class BranchAndMergePlugin(cliapp.Plugin):
self.app.output.write('%s\n' % branch)
def show_branch_root(self, args):
- '''Print name of the repository holding the system morphologies'''
+ '''Show the name of the repository holding the system morphologies.
+
+ This would, for example, write out something like:
+
+ /src/ws/master/baserock:baserock/morphs
+
+ when the master branch of the `baserock:baserock/morphs`
+ repository is checked out.
+
+ '''
workspace = self.deduce_workspace()
system_branch, branch_dir = self.deduce_system_branch()