Merge "Fix formatting of message when retrying clone"

This commit is contained in:
Dan Willemsen 2015-08-19 17:54:50 +00:00 committed by Gerrit Code Review
commit dab9e99f0f

View File

@ -2182,8 +2182,8 @@ class Project(object):
try:
self._CheckDirReference(self.objdir, self.gitdir, share_refs=False)
except GitError as e:
print("Retrying clone after deleting %s" % force_sync, file=sys.stderr)
if force_sync:
print("Retrying clone after deleting %s" % self.gitdir, file=sys.stderr)
try:
shutil.rmtree(os.path.realpath(self.gitdir))
if self.worktree and os.path.exists(