summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-04-18 11:19:01 -0700
committerShawn O. Pearce <sop@google.com>2009-04-18 11:19:01 -0700
commit06e556d202cc6944227667a0664ec7b8eca32076 (patch)
treeed28ad5e1559c54dae8fee3d31cda664ac3b9107
parent8225cdc56b9763ef4c000fe72db3e6ae68fc3736 (diff)
downloadgit-repo-06e556d202cc6944227667a0664ec7b8eca32076.tar.gz
Improve the help text for 'repo start'
Signed-off-by: Shawn O. Pearce <sop@google.com>
-rw-r--r--subcmds/start.py18
1 files changed, 4 insertions, 14 deletions
diff --git a/subcmds/start.py b/subcmds/start.py
index deced7c2..d30949f7 100644
--- a/subcmds/start.py
+++ b/subcmds/start.py
@@ -22,20 +22,10 @@ class Start(Command):
22 helpSummary = "Start a new branch for development" 22 helpSummary = "Start a new branch for development"
23 helpUsage = """ 23 helpUsage = """
24%prog <newbranchname> [<project>...] 24%prog <newbranchname> [<project>...]
25 25"""
26This subcommand starts a new branch of development that is automatically 26 helpDescription = """
27pulled from a remote branch. 27'%prog' begins a new branch of development, starting from the
28 28revision specified in the manifest.
29It is equivalent to the following git commands:
30
31"git branch --track <newbranchname> m/<codeline>",
32or
33"git checkout --track -b <newbranchname> m/<codeline>".
34
35All three forms set up the config entries that repo bases some of its
36processing on. Use %prog or git branch or checkout with --track to ensure
37the configuration data is set up properly.
38
39""" 29"""
40 30
41 def Execute(self, opt, args): 31 def Execute(self, opt, args):