by
Changes to one file · Browse files at dace5a344d81 Showing diff from parent 010080f4f72b c6829193f00a Diff from another changeset...
@@ -65,7 +65,10 @@ def refresh(self):
repo = self.repo
oldtags, oldparents = self.tagrevs, self.wcparents
- oldbranches = [repo[n].rev() for n in self.branchtags.values()]
+ try:
+ oldbranches = [repo[n].rev() for n in self.branchtags.values()]
+ except error.RepoLookupError:
+ oldbranches = []
repo.invalidate()
repo.dirstate.invalidate()
|
Loading...