comparison mercurial/context.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 a6b8b1ab9116
children dcbe7fda53e4
comparison
equal deleted inserted replaced
50925:d718eddf01d9 50926:18c8c18993f0
13 from .i18n import _ 13 from .i18n import _
14 from .node import ( 14 from .node import (
15 hex, 15 hex,
16 nullrev, 16 nullrev,
17 short, 17 short,
18 )
19 from .pycompat import (
20 getattr,
21 ) 18 )
22 from . import ( 19 from . import (
23 dagop, 20 dagop,
24 encoding, 21 encoding,
25 error, 22 error,