From patchwork Sat Mar 16 23:57:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D6143: context: use wdirhex constant instead of calculating it From: phabricator X-Patchwork-Id: 39299 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Sat, 16 Mar 2019 23:57:35 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHG21cc92fea2aa: context: use wdirhex constant instead of calculating it (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6143?vs=14519&id=14526 REVISION DETAIL https://phab.mercurial-scm.org/D6143 AFFECTED FILES mercurial/context.py CHANGE DETAILS To: martinvonz, #hg-reviewers, pulkit Cc: mercurial-devel diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -21,7 +21,7 @@ nullrev, short, wdirfilenodeids, - wdirid, + wdirhex, ) from . import ( dagop, @@ -1324,7 +1324,7 @@ return self._repo.dirstate[key] not in "?r" def hex(self): - return hex(wdirid) + return wdirhex @propertycache def _parents(self):