summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds')
-rw-r--r--subcmds/init.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/subcmds/init.py b/subcmds/init.py
index eeadc70d..9396f3c0 100644
--- a/subcmds/init.py
+++ b/subcmds/init.py
@@ -118,6 +118,10 @@ to update the working directory files.
118 dest='config_name', action="store_true", default=False, 118 dest='config_name', action="store_true", default=False,
119 help='Always prompt for name/e-mail') 119 help='Always prompt for name/e-mail')
120 120
121 def _RegisteredEnvironmentOptions(self):
122 return {'REPO_MANIFEST_URL': 'manifest_url',
123 'REPO_MIRROR_LOCATION': 'reference'}
124
121 def _SyncManifest(self, opt): 125 def _SyncManifest(self, opt):
122 m = self.manifest.manifestProject 126 m = self.manifest.manifestProject
123 is_new = not m.Exists 127 is_new = not m.Exists