diff options
-rw-r--r-- | subcmds/sync.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index ecb89a10..ad05cadd 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -217,6 +217,10 @@ uncommitted changes are present' % project.relpath | |||
217 | missing.append(project) | 217 | missing.append(project) |
218 | self._Fetch(missing) | 218 | self._Fetch(missing) |
219 | 219 | ||
220 | if self.manifest.IsMirror: | ||
221 | # bail out now, we have no working tree | ||
222 | return | ||
223 | |||
220 | if self.UpdateProjectList(): | 224 | if self.UpdateProjectList(): |
221 | sys.exit(1) | 225 | sys.exit(1) |
222 | 226 | ||