Commits

Steve Borho  committed ce50124

repowidget: back-port a missing bug fix to default

  • Participants
  • Parent commits f5b0b14

Comments (0)

Files changed (1)

File tortoisehg/hgqt/repowidget.py

             dlg.deleteLater()
 
     def visualDiffToLocal(self):
-        assert type(self.rev) is int
+        if self.rev is None:
+            return
         opts = dict(rev=['rev(%d)' % self.rev])
         dlg = visdiff.visualdiff(self.repo.ui, self.repo, [], opts)
         if dlg: