diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-10-03 18:04:02 +0900 |
---|---|---|
committer | Gustaf Lundh <gustaf.lundh@sonymobile.com> | 2012-10-05 10:34:19 +0200 |
commit | e3b1c45aebed329cbc9ad172b1d8e812cf208117 (patch) | |
tree | 629984135b1cea3c0a32454eaecbe806ed09ca58 | |
parent | 7119f94abaa48b3b7fb990f2a12ec5458ef3f133 (diff) | |
download | git-repo-e3b1c45aebed329cbc9ad172b1d8e812cf208117.tar.gz |
Remove unreachable code
Change 9bb1816b removed part of a block of code, but left the
remaining part unreachable. Remove it.
Change-Id: Icdc6061d00e6027df32dee9a3bad3999fe7cdcbc
-rw-r--r-- | subcmds/sync.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index f573b980..b84d169f 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -510,14 +510,6 @@ uncommitted changes are present' % project.relpath | |||
510 | # bail out now; the rest touches the working tree | 510 | # bail out now; the rest touches the working tree |
511 | return | 511 | return |
512 | 512 | ||
513 | self.manifest._Unload() | ||
514 | all = self.GetProjects(args, missing_ok=True) | ||
515 | missing = [] | ||
516 | for project in all: | ||
517 | if project.gitdir not in fetched: | ||
518 | missing.append(project) | ||
519 | self._Fetch(missing, opt) | ||
520 | |||
521 | if self.manifest.IsMirror: | 513 | if self.manifest.IsMirror: |
522 | # bail out now, we have no working tree | 514 | # bail out now, we have no working tree |
523 | return | 515 | return |