diff options
Diffstat (limited to 'subcmds/init.py')
-rw-r--r-- | subcmds/init.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/subcmds/init.py b/subcmds/init.py index 697d6bec..007667e2 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
@@ -315,6 +315,10 @@ to update the working directory files. | |||
315 | 315 | ||
316 | def Execute(self, opt, args): | 316 | def Execute(self, opt, args): |
317 | git_require(MIN_GIT_VERSION, fail=True) | 317 | git_require(MIN_GIT_VERSION, fail=True) |
318 | |||
319 | if opt.reference: | ||
320 | opt.reference = os.path.expanduser(opt.reference) | ||
321 | |||
318 | self._SyncManifest(opt) | 322 | self._SyncManifest(opt) |
319 | self._LinkManifest(opt.manifest_name) | 323 | self._LinkManifest(opt.manifest_name) |
320 | 324 | ||