mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Merge "Fix formatting of message when retrying clone"
This commit is contained in:
commit
dab9e99f0f
@ -2182,8 +2182,8 @@ class Project(object):
|
|||||||
try:
|
try:
|
||||||
self._CheckDirReference(self.objdir, self.gitdir, share_refs=False)
|
self._CheckDirReference(self.objdir, self.gitdir, share_refs=False)
|
||||||
except GitError as e:
|
except GitError as e:
|
||||||
print("Retrying clone after deleting %s" % force_sync, file=sys.stderr)
|
|
||||||
if force_sync:
|
if force_sync:
|
||||||
|
print("Retrying clone after deleting %s" % self.gitdir, file=sys.stderr)
|
||||||
try:
|
try:
|
||||||
shutil.rmtree(os.path.realpath(self.gitdir))
|
shutil.rmtree(os.path.realpath(self.gitdir))
|
||||||
if self.worktree and os.path.exists(
|
if self.worktree and os.path.exists(
|
||||||
|
Loading…
Reference in New Issue
Block a user