Don't print "persistent ref" message when syncing quietly

The newly introduced "Already have persistent ref" message prevents
repo from overwriting the last line when syncing quietly. Omit the
message when syncing quietly to clean up the output and to restore
the previous behaviour.

Change-Id: Idf42751c67f95924d6de50092ba54d4c6fe93096
This commit is contained in:
Tim Schumacher 2019-04-15 11:17:08 +02:00
parent 0d9b16d1d8
commit 1f1596b473

View File

@ -1980,6 +1980,7 @@ class Project(object):
if is_sha1 or tag_name is not None:
if self._CheckForImmutableRevision():
if not quiet:
print('Skipped fetching project %s (already have persistent ref)'
% self.name)
return True