summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrepo3
1 files changed, 3 insertions, 0 deletions
diff --git a/repo b/repo
index 5dd4b784..e74c01e1 100755
--- a/repo
+++ b/repo
@@ -205,6 +205,7 @@ gpg_dir = os.path.join(home_dot_repo, 'gnupg')
205extra_args = [] 205extra_args = []
206init_optparse = optparse.OptionParser(usage="repo init -u url [options]") 206init_optparse = optparse.OptionParser(usage="repo init -u url [options]")
207 207
208
208def _InitParser(): 209def _InitParser():
209 """Setup the init subcommand parser.""" 210 """Setup the init subcommand parser."""
210 # Logging. 211 # Logging.
@@ -284,6 +285,7 @@ def _GitcInitOptions(init_optparse_arg):
284 dest='gitc_client', 285 dest='gitc_client',
285 help='The name of the gitc_client instance to create or modify.') 286 help='The name of the gitc_client instance to create or modify.')
286 287
288
287_gitc_manifest_dir = None 289_gitc_manifest_dir = None
288 290
289 291
@@ -424,6 +426,7 @@ def _Init(args, gitc_init=False):
424GitVersion = collections.namedtuple( 426GitVersion = collections.namedtuple(
425 'GitVersion', ('major', 'minor', 'micro', 'full')) 427 'GitVersion', ('major', 'minor', 'micro', 'full'))
426 428
429
427def ParseGitVersion(ver_str=None): 430def ParseGitVersion(ver_str=None):
428 if ver_str is None: 431 if ver_str is None:
429 # Load the version ourselves. 432 # Load the version ourselves.