Commits

Steve Borho  committed e8f307a

repowidget: catch ValueError from rebuildGraph() (closes #1269)

  • Participants
  • Parent commits 8727589
  • Branches stable
  • Tags 2.1.4

Comments (0)

Files changed (1)

File tortoisehg/hgqt/repowidget.py

                     while self._reload_rev not in self.repo.mq.series and idx:
                         idx -= 1
                         self._reload_rev = self._last_series[idx]
-            except (AttributeError, IndexError):
+            except (AttributeError, IndexError, ValueError):
                 self._reload_rev = 'tip'
         elif len(self.repo) <= self.rev:
             self._reload_rev = 'tip'