upload: Document --replace is deprecated

Change-Id: I52715bcfec9c038d0e02505aa7e4054ebc0434aa
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce 2009-08-22 18:24:13 -07:00
parent a949fa5d20
commit 4719901067

View File

@ -55,11 +55,11 @@ added to the respective list of users, and emails are sent to any
new users. Users passed as --reviewers must already be registered new users. Users passed as --reviewers must already be registered
with the code review system, or the upload will fail. with the code review system, or the upload will fail.
If the --replace option is passed the user can designate which If the --replace option (deprecated) is passed the user can designate
existing change(s) in Gerrit match up to the commits in the branch which existing change(s) in Gerrit match up to the commits in the
being uploaded. For each matched pair of change,commit the commit branch being uploaded. For each matched pair of change,commit the
will be added as a new patch set, completely replacing the set of commit will be added as a new patch set, completely replacing the
files and description associated with the change in Gerrit. set of files and description associated with the change in Gerrit.
Configuration Configuration
------------- -------------
@ -92,7 +92,7 @@ Gerrit Code Review: http://code.google.com/p/gerrit/
def _Options(self, p): def _Options(self, p):
p.add_option('--replace', p.add_option('--replace',
dest='replace', action='store_true', dest='replace', action='store_true',
help='Upload replacement patchesets from this branch') help='Upload replacement patchsets from this branch (deprecated)')
p.add_option('--re', '--reviewers', p.add_option('--re', '--reviewers',
type='string', action='append', dest='reviewers', type='string', action='append', dest='reviewers',
help='Request reviews from these people.') help='Request reviews from these people.')