From patchwork Tue Jul 31 12:05:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D3987: context: use hex nodeid in error about filtered node From: phabricator X-Patchwork-Id: 32978 Message-Id: <6720ec94782a9a4cd927a4ecddc82613@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Tue, 31 Jul 2018 12:05:25 +0000 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 To: martinvonz, #hg-reviewers Cc: mercurial-devel 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