diff options
-rwxr-xr-x | project.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1980,8 +1980,9 @@ class Project(object): | |||
1980 | 1980 | ||
1981 | if is_sha1 or tag_name is not None: | 1981 | if is_sha1 or tag_name is not None: |
1982 | if self._CheckForImmutableRevision(): | 1982 | if self._CheckForImmutableRevision(): |
1983 | print('Skipped fetching project %s (already have persistent ref)' | 1983 | if not quiet: |
1984 | % self.name) | 1984 | print('Skipped fetching project %s (already have persistent ref)' |
1985 | % self.name) | ||
1985 | return True | 1986 | return True |
1986 | if is_sha1 and not depth: | 1987 | if is_sha1 and not depth: |
1987 | # When syncing a specific commit and --depth is not set: | 1988 | # When syncing a specific commit and --depth is not set: |