mercurial/context.py
branchstable
changeset 38755 545a3e6650cd
parent 38751 71d6886d27cf
child 38761 d558e53cd6b6
equal deleted inserted replaced
38754:8b5f97ab5774 38755:545a3e6650cd
   409                 try:
   409                 try:
   410                     self._node = changeid
   410                     self._node = changeid
   411                     self._rev = repo.changelog.rev(changeid)
   411                     self._rev = repo.changelog.rev(changeid)
   412                     return
   412                     return
   413                 except error.FilteredLookupError:
   413                 except error.FilteredLookupError:
       
   414                     changeid = hex(changeid) # for the error message
   414                     raise
   415                     raise
   415                 except LookupError:
   416                 except LookupError:
   416                     # check if it might have come from damaged dirstate
   417                     # check if it might have come from damaged dirstate
   417                     #
   418                     #
   418                     # XXX we could avoid the unfiltered if we had a recognizable
   419                     # XXX we could avoid the unfiltered if we had a recognizable