summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2012-11-07 12:39:25 -0800
committerGerrit Code Review <noreply-gerritcodereview@google.com>2012-11-07 12:39:25 -0800
commit1ad7b555df77d27fac485ac2815dd6ce9b8b8dfd (patch)
tree5fd10d46045bdbeeffc209ea6e67af0cd68f1dd9
parent7e6dd2dff012062b8dd812f923339790323b3840 (diff)
parent8d070cfb254a21ec3f7a07c123165edf1ce379eb (diff)
downloadgit-repo-1ad7b555df77d27fac485ac2815dd6ce9b8b8dfd.tar.gz
Merge "Always show --manifest-server-* options"
-rw-r--r--subcmds/sync.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py
index 15f69f7b..d6389118 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -173,6 +173,12 @@ later is required to fix a server side protocol bug.
173 p.add_option('--no-clone-bundle', 173 p.add_option('--no-clone-bundle',
174 dest='no_clone_bundle', action='store_true', 174 dest='no_clone_bundle', action='store_true',
175 help='disable use of /clone.bundle on HTTP/HTTPS') 175 help='disable use of /clone.bundle on HTTP/HTTPS')
176 p.add_option('-u', '--manifest-server-username', action='store',
177 dest='manifest_server_username',
178 help='username to authenticate with the manifest server')
179 p.add_option('-p', '--manifest-server-password', action='store',
180 dest='manifest_server_password',
181 help='password to authenticate with the manifest server')
176 if show_smart: 182 if show_smart:
177 p.add_option('-s', '--smart-sync', 183 p.add_option('-s', '--smart-sync',
178 dest='smart_sync', action='store_true', 184 dest='smart_sync', action='store_true',
@@ -180,12 +186,6 @@ later is required to fix a server side protocol bug.
180 p.add_option('-t', '--smart-tag', 186 p.add_option('-t', '--smart-tag',
181 dest='smart_tag', action='store', 187 dest='smart_tag', action='store',
182 help='smart sync using manifest from a known tag') 188 help='smart sync using manifest from a known tag')
183 p.add_option('-u', '--manifest-server-username', action='store',
184 dest='manifest_server_username',
185 help='username to authenticate with the manifest server')
186 p.add_option('-p', '--manifest-server-password', action='store',
187 dest='manifest_server_password',
188 help='password to authenticate with the manifest server')
189 189
190 g = p.add_option_group('repo Version options') 190 g = p.add_option_group('repo Version options')
191 g.add_option('--no-repo-verify', 191 g.add_option('--no-repo-verify',