diff options
-rw-r--r-- | subcmds/init.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/init.py b/subcmds/init.py index b260ec0f..65dfd1fd 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
@@ -401,7 +401,7 @@ to update the working directory files. | |||
401 | git_require(MIN_GIT_VERSION, fail=True) | 401 | git_require(MIN_GIT_VERSION, fail=True) |
402 | 402 | ||
403 | if opt.reference: | 403 | if opt.reference: |
404 | opt.reference = os.path.expanduser(opt.reference) | 404 | opt.reference = os.path.abspath(os.path.expanduser(opt.reference)) |
405 | 405 | ||
406 | # Check this here, else manifest will be tagged "not new" and init won't be | 406 | # Check this here, else manifest will be tagged "not new" and init won't be |
407 | # possible anymore without removing the .repo/manifests directory. | 407 | # possible anymore without removing the .repo/manifests directory. |