|
@@ -175,7 +175,8 @@ to update the working directory files.
|
|
|
if not mirrored_manifest_git.endswith(".git"):
|
|
if not mirrored_manifest_git.endswith(".git"):
|
|
|
mirrored_manifest_git += ".git"
|
|
mirrored_manifest_git += ".git"
|
|
|
if not os.path.exists(mirrored_manifest_git):
|
|
if not os.path.exists(mirrored_manifest_git):
|
|
|
- mirrored_manifest_git = os.path.join(opt.reference + '/.repo/manifests.git')
|
|
|
|
|
|
|
+ mirrored_manifest_git = os.path.join(opt.reference,
|
|
|
|
|
+ '.repo/manifests.git')
|
|
|
|
|
|
|
|
m._InitGitDir(mirror_git=mirrored_manifest_git)
|
|
m._InitGitDir(mirror_git=mirrored_manifest_git)
|
|
|
|
|
|
|
@@ -401,7 +402,7 @@ to update the working directory files.
|
|
|
git_require(MIN_GIT_VERSION, fail=True)
|
|
git_require(MIN_GIT_VERSION, fail=True)
|
|
|
|
|
|
|
|
if opt.reference:
|
|
if opt.reference:
|
|
|
- opt.reference = os.path.abspath(os.path.expanduser(opt.reference))
|
|
|
|
|
|
|
+ opt.reference = os.path.expanduser(opt.reference)
|
|
|
|
|
|
|
|
# Check this here, else manifest will be tagged "not new" and init won't be
|
|
# Check this here, else manifest will be tagged "not new" and init won't be
|
|
|
# possible anymore without removing the .repo/manifests directory.
|
|
# possible anymore without removing the .repo/manifests directory.
|