summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subcmds/upload.py30
1 files changed, 17 insertions, 13 deletions
diff --git a/subcmds/upload.py b/subcmds/upload.py
index de3fe857..24bbc7b7 100644
--- a/subcmds/upload.py
+++ b/subcmds/upload.py
@@ -38,22 +38,21 @@ class Upload(InteractiveCommand):
38%prog [--re --cc] {[<project>]... | --replace <project>} 38%prog [--re --cc] {[<project>]... | --replace <project>}
39""" 39"""
40 helpDescription = """ 40 helpDescription = """
41The '%prog' command is used to send changes to the Gerrit code 41The '%prog' command is used to send changes to the Gerrit Code
42review system. It searches for changes in local projects that do 42Review system. It searches for topic branches in local projects
43not yet exist in the corresponding remote repository. If multiple 43that have not yet been published for review. If multiple topic
44changes are found, '%prog' opens an editor to allow the 44branches are found, '%prog' opens an editor to allow the user to
45user to choose which change to upload. After a successful upload, 45select which branches to upload.
46repo prints the URL for the change in the Gerrit code review system. 46
47 47'%prog' searches for uploadable changes in all projects listed at
48'%prog' searches for uploadable changes in all projects listed 48the command line. Projects can be specified either by name, or by
49at the command line. Projects can be specified either by name, or 49a relative or absolute path to the project's local directory. If no
50by a relative or absolute path to the project's local directory. If 50projects are specified, '%prog' will search for uploadable changes
51no projects are specified, '%prog' will search for uploadable 51in all projects listed in the manifest.
52changes in all projects listed in the manifest.
53 52
54If the --reviewers or --cc options are passed, those emails are 53If the --reviewers or --cc options are passed, those emails are
55added to the respective list of users, and emails are sent to any 54added to the respective list of users, and emails are sent to any
56new users. Users passed to --reviewers must be already registered 55new users. Users passed as --reviewers must already be registered
57with the code review system, or the upload will fail. 56with the code review system, or the upload will fail.
58 57
59If the --replace option is passed the user can designate which 58If the --replace option is passed the user can designate which
@@ -83,6 +82,11 @@ or in the .git/config within the project. For example:
83 [review "http://review.example.com/"] 82 [review "http://review.example.com/"]
84 autoupload = true 83 autoupload = true
85 84
85References
86----------
87
88Gerrit Code Review: http://code.google.com/p/gerrit/
89
86""" 90"""
87 91
88 def _Options(self, p): 92 def _Options(self, p):