diff options
Diffstat (limited to 'subcmds')
| -rw-r--r-- | subcmds/sync.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index df536892..bbe03722 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
| @@ -2007,7 +2007,11 @@ class _LocalSyncState(object): | |||
| 2007 | """Return whether a partial sync state is detected.""" | 2007 | """Return whether a partial sync state is detected.""" |
| 2008 | self._Load() | 2008 | self._Load() |
| 2009 | prev_checkout_t = None | 2009 | prev_checkout_t = None |
| 2010 | for data in self._state.values(): | 2010 | for path, data in self._state.items(): |
| 2011 | if path == self._manifest.repoProject.relpath: | ||
| 2012 | # The repo project isn't included in most syncs so we should | ||
| 2013 | # ignore it here. | ||
| 2014 | continue | ||
| 2011 | checkout_t = data.get(self._LAST_CHECKOUT) | 2015 | checkout_t = data.get(self._LAST_CHECKOUT) |
| 2012 | if not checkout_t: | 2016 | if not checkout_t: |
| 2013 | return True | 2017 | return True |
