Commits

Steve Borho committed d453ece

repowidget: fix visdiff of revision pair

It was parsing these oddly, turning 9111:9222 into (9, 9222)
Passing them as a tuple seems to make cmdutil.revpair() happier.

Comments (0)

Files changed (1)

tortoisehg/hgqt/repowidget.py

         def diffPair():
             revA, revB = selection
             visdiff.visualdiff(self.repo.ui, self.repo, [],
-                    {'rev':'%s:%s' % (revA, revB)})
+                    {'rev':(str(revA), str(revB))})
         def emailPair():
             run.email(self.repo.ui, rev=selection, repo=self.repo)
         def emailDagRange():