[Request] [- ] D12609: obsolete: remove two unused constants
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu May 5 18:51:55 UTC 2022
durin42 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
I'm not sure what these constants were intended for, but they have no
users so it's time to say goodbye.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12609
AFFECTED FILES
mercurial/obsolete.py
CHANGE DETAILS
diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py
--- a/mercurial/obsolete.py
+++ b/mercurial/obsolete.py
@@ -338,8 +338,6 @@
_fm1nodesha256size = _calcsize(_fm1nodesha256)
_fm1fsize = _calcsize(_fm1fixed)
_fm1parentnone = 3
-_fm1parentshift = 14
-_fm1parentmask = _fm1parentnone << _fm1parentshift
_fm1metapair = b'BB'
_fm1metapairsize = _calcsize(_fm1metapair)
To: durin42, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20220505/1eb60b7a/attachment.html>
More information about the Mercurial-patches
mailing list