summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subcmds/gitc_init.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/subcmds/gitc_init.py b/subcmds/gitc_init.py
index 6f5278b2..92b34f72 100644
--- a/subcmds/gitc_init.py
+++ b/subcmds/gitc_init.py
@@ -66,8 +66,10 @@ use for this GITC client.
66 if not os.path.exists(self.client_dir): 66 if not os.path.exists(self.client_dir):
67 os.mkdir(self.client_dir) 67 os.mkdir(self.client_dir)
68 super(GitcInit, self).Execute(opt, args) 68 super(GitcInit, self).Execute(opt, args)
69 # Make the destination manifest file a symlink to repo's so both repo and 69
70 # GITC refer to the same manifest. 70 for name, remote in self.manifest.remotes.iteritems():
71 remote.fetchUrl = remote.resolvedFetchUrl
72
71 if opt.manifest_file: 73 if opt.manifest_file:
72 if not os.path.exists(opt.manifest_file): 74 if not os.path.exists(opt.manifest_file):
73 print('fatal: Specified manifest file %s does not exist.' % 75 print('fatal: Specified manifest file %s does not exist.' %