summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-04-10 16:51:53 -0700
committerShawn O. Pearce <sop@google.com>2009-04-10 17:07:32 -0700
commit2a1ccb2b0ca6a975614b96271fccd82a58394157 (patch)
treef5d454e5ea13ead06ed7bf2d2d657126913d1274
parent0a389e94de32151189b7064d96eaaa0aa6cdb4a3 (diff)
downloadgit-repo-2a1ccb2b0ca6a975614b96271fccd82a58394157.tar.gz
Hide the internal sync --repo-upgraded flag from users
This is only meant to be passed through while repo upgrades itself during a sync. It should never be something a user invokes on their own. Signed-off-by: Shawn O. Pearce <sop@google.com>
-rw-r--r--subcmds/sync.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py
index fff1281a..d3f6adc1 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -13,6 +13,7 @@
13# See the License for the specific language governing permissions and 13# See the License for the specific language governing permissions and
14# limitations under the License. 14# limitations under the License.
15 15
16from optparse import SUPPRESS_HELP
16import os 17import os
17import re 18import re
18import subprocess 19import subprocess
@@ -51,7 +52,7 @@ the manifest.
51 help='do not verify repo source code') 52 help='do not verify repo source code')
52 p.add_option('--repo-upgraded', 53 p.add_option('--repo-upgraded',
53 dest='repo_upgraded', action='store_true', 54 dest='repo_upgraded', action='store_true',
54 help='perform additional actions after a repo upgrade') 55 help=SUPPRESS_HELP)
55 56
56 def _Fetch(self, *projects): 57 def _Fetch(self, *projects):
57 fetched = set() 58 fetched = set()