mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-06-26 20:17:52 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
0ae9503a86 | |||
cd89ec147a |
@ -1051,7 +1051,7 @@ class Project(object):
|
||||
prune=False,
|
||||
submodules=False,
|
||||
clone_filter=None,
|
||||
partial_clone_exclude=None):
|
||||
partial_clone_exclude=set()):
|
||||
"""Perform only the network IO portion of the sync process.
|
||||
Local working directory/branch state is not affected.
|
||||
"""
|
||||
@ -2205,7 +2205,7 @@ class Project(object):
|
||||
|
||||
# Figure out how long to sleep before the next attempt, if there is one.
|
||||
if not verbose:
|
||||
output_redir.write('\n%s:\n%s' % (self.name, gitcmd.stdout), file=sys.stderr)
|
||||
output_redir.write('\n%s:\n%s' % (self.name, gitcmd.stdout))
|
||||
if try_n < retry_fetches - 1:
|
||||
output_redir.write('sleeping %s seconds before retrying' % retry_cur_sleep)
|
||||
time.sleep(retry_cur_sleep)
|
||||
|
Reference in New Issue
Block a user