D3987: context: use hex nodeid in error about filtered node
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Tue Jul 31 08:05:25 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG545a3e6650cd: context: use hex nodeid in error about filtered node (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3987?vs=9672&id=9673
REVISION DETAIL
https://phab.mercurial-scm.org/D3987
AFFECTED FILES
mercurial/context.py
CHANGE DETAILS
diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -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
To: martinvonz, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list