diff options
author | Shawn O. Pearce <sop@google.com> | 2009-08-22 18:24:13 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-08-22 18:41:09 -0700 |
commit | 47199010671a6724e18f061f4da63dcd46e3f354 (patch) | |
tree | 42fd5aafb13bb3b949f373067c3de05c5fd24b27 | |
parent | a949fa5d202f0a1f812d7630f3e5bf0f02ca4e98 (diff) | |
download | git-repo-47199010671a6724e18f061f4da63dcd46e3f354.tar.gz |
upload: Document --replace is deprecated
Change-Id: I52715bcfec9c038d0e02505aa7e4054ebc0434aa
Signed-off-by: Shawn O. Pearce <sop@google.com>
-rw-r--r-- | subcmds/upload.py | 12 |
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 | |||
55 | new users. Users passed as --reviewers must already be registered | 55 | new users. Users passed as --reviewers must already be registered |
56 | with the code review system, or the upload will fail. | 56 | with the code review system, or the upload will fail. |
57 | 57 | ||
58 | If the --replace option is passed the user can designate which | 58 | If the --replace option (deprecated) is passed the user can designate |
59 | existing change(s) in Gerrit match up to the commits in the branch | 59 | which existing change(s) in Gerrit match up to the commits in the |
60 | being uploaded. For each matched pair of change,commit the commit | 60 | branch being uploaded. For each matched pair of change,commit the |
61 | will be added as a new patch set, completely replacing the set of | 61 | commit will be added as a new patch set, completely replacing the |
62 | files and description associated with the change in Gerrit. | 62 | set of files and description associated with the change in Gerrit. |
63 | 63 | ||
64 | Configuration | 64 | Configuration |
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.') |