• Matt Harbison's avatar
    revdetails: fix a crash when clicking a hash hyperlink in File History · 3d620283d66f
    Matt Harbison authored
    When clicking on a cset hyperlink in File History > Revision Details, this
    popped up:
        Traceback (most recent call last):
          File "tortoisehg\hgqt\revdetails.pyo", line 603, in linkActivated
          File "tortoisehg\hgqt\revdetails.pyo", line 562, in setRev
          File "tortoisehg\hgqt\revdetails.pyo", line 298, in onRevisionSelected
          File "tortoisehg\hgqt\thgrepo.pyo", line 772, in __getitem__
          File "mercurial\localrepo.pyo", line 1277, in __getitem__
        ProgrammingError: unsupported changeid 'c62038d6f988' of type <type 'unicode'>
    Most of the existing callers pass an int to setRev(), with the possible
    exception of the default parameter in the RevDetailsDialog constructor.  So this
    can't be converted any closer to the repo lookup.
    branch : stable
revdetails.py 23.3 KB