mercurial/context.py
branchstable
changeset 38755 545a3e6650cd
parent 38751 71d6886d27cf
child 38761 d558e53cd6b6
--- a/mercurial/context.py	Tue Jul 31 10:55:14 2018 +0200
+++ b/mercurial/context.py	Mon Jul 30 14:36:42 2018 -0700
@@ -411,6 +411,7 @@
                     self._rev = repo.changelog.rev(changeid)
                     return
                 except error.FilteredLookupError:
+                    changeid = hex(changeid) # for the error message
                     raise
                 except LookupError:
                     # check if it might have come from damaged dirstate