|
@@ -205,6 +205,7 @@ gpg_dir = os.path.join(home_dot_repo, 'gnupg')
|
|
|
extra_args = []
|
|
extra_args = []
|
|
|
init_optparse = optparse.OptionParser(usage="repo init -u url [options]")
|
|
init_optparse = optparse.OptionParser(usage="repo init -u url [options]")
|
|
|
|
|
|
|
|
|
|
+
|
|
|
def _InitParser():
|
|
def _InitParser():
|
|
|
"""Setup the init subcommand parser."""
|
|
"""Setup the init subcommand parser."""
|
|
|
# Logging.
|
|
# Logging.
|
|
@@ -284,6 +285,7 @@ def _GitcInitOptions(init_optparse_arg):
|
|
|
dest='gitc_client',
|
|
dest='gitc_client',
|
|
|
help='The name of the gitc_client instance to create or modify.')
|
|
help='The name of the gitc_client instance to create or modify.')
|
|
|
|
|
|
|
|
|
|
+
|
|
|
_gitc_manifest_dir = None
|
|
_gitc_manifest_dir = None
|
|
|
|
|
|
|
|
|
|
|
|
@@ -424,6 +426,7 @@ def _Init(args, gitc_init=False):
|
|
|
GitVersion = collections.namedtuple(
|
|
GitVersion = collections.namedtuple(
|
|
|
'GitVersion', ('major', 'minor', 'micro', 'full'))
|
|
'GitVersion', ('major', 'minor', 'micro', 'full'))
|
|
|
|
|
|
|
|
|
|
+
|
|
|
def ParseGitVersion(ver_str=None):
|
|
def ParseGitVersion(ver_str=None):
|
|
|
if ver_str is None:
|
|
if ver_str is None:
|
|
|
# Load the version ourselves.
|
|
# Load the version ourselves.
|