Mercurial > public > mercurial-scm > hg
comparison mercurial/revlog.py @ 50926:18c8c18993f0
pycompat: drop usage of hasattr/getattr/setattr/delatt proxy
The function remains to ease extensions transition, but we no longer use them in
core.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 01 Sep 2023 00:09:55 +0200 |
parents | d718eddf01d9 |
children | 4ea606568f61 |
comparison
equal
deleted
inserted
replaced
50925:d718eddf01d9 | 50926:18c8c18993f0 |
---|---|
30 sha1nodeconstants, | 30 sha1nodeconstants, |
31 short, | 31 short, |
32 wdirrev, | 32 wdirrev, |
33 ) | 33 ) |
34 from .i18n import _ | 34 from .i18n import _ |
35 from .pycompat import getattr | |
36 from .revlogutils.constants import ( | 35 from .revlogutils.constants import ( |
37 ALL_KINDS, | 36 ALL_KINDS, |
38 CHANGELOGV2, | 37 CHANGELOGV2, |
39 COMP_MODE_DEFAULT, | 38 COMP_MODE_DEFAULT, |
40 COMP_MODE_INLINE, | 39 COMP_MODE_INLINE, |