summaryrefslogtreecommitdiffstats
path: root/subcmds/upload.py
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-08-22 18:24:13 -0700
committerShawn O. Pearce <sop@google.com>2009-08-22 18:41:09 -0700
commit47199010671a6724e18f061f4da63dcd46e3f354 (patch)
tree42fd5aafb13bb3b949f373067c3de05c5fd24b27 /subcmds/upload.py
parenta949fa5d202f0a1f812d7630f3e5bf0f02ca4e98 (diff)
downloadgit-repo-47199010671a6724e18f061f4da63dcd46e3f354.tar.gz
upload: Document --replace is deprecated
Change-Id: I52715bcfec9c038d0e02505aa7e4054ebc0434aa Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'subcmds/upload.py')
-rw-r--r--subcmds/upload.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/subcmds/upload.py b/subcmds/upload.py
index aea399b6..8e3d2723 100644
--- a/subcmds/upload.py
+++ b/subcmds/upload.py
@@ -55,11 +55,11 @@ added to the respective list of users, and emails are sent to any
55new users. Users passed as --reviewers must already be registered 55new users. Users passed as --reviewers must already be registered
56with the code review system, or the upload will fail. 56with the code review system, or the upload will fail.
57 57
58If the --replace option is passed the user can designate which 58If the --replace option (deprecated) is passed the user can designate
59existing change(s) in Gerrit match up to the commits in the branch 59which existing change(s) in Gerrit match up to the commits in the
60being uploaded. For each matched pair of change,commit the commit 60branch being uploaded. For each matched pair of change,commit the
61will be added as a new patch set, completely replacing the set of 61commit will be added as a new patch set, completely replacing the
62files and description associated with the change in Gerrit. 62set of files and description associated with the change in Gerrit.
63 63
64Configuration 64Configuration
65------------- 65-------------
@@ -92,7 +92,7 @@ Gerrit Code Review: http://code.google.com/p/gerrit/
92 def _Options(self, p): 92 def _Options(self, p):
93 p.add_option('--replace', 93 p.add_option('--replace',
94 dest='replace', action='store_true', 94 dest='replace', action='store_true',
95 help='Upload replacement patchesets from this branch') 95 help='Upload replacement patchsets from this branch (deprecated)')
96 p.add_option('--re', '--reviewers', 96 p.add_option('--re', '--reviewers',
97 type='string', action='append', dest='reviewers', 97 type='string', action='append', dest='reviewers',
98 help='Request reviews from these people.') 98 help='Request reviews from these people.')