comparison mercurial/scmutil.py @ 50929: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 fd1aa5e18f75
comparison
equal deleted inserted replaced
50928:d718eddf01d9 50929:18c8c18993f0
21 hex, 21 hex,
22 nullrev, 22 nullrev,
23 short, 23 short,
24 wdirrev, 24 wdirrev,
25 ) 25 )
26 from .pycompat import getattr
27 from .thirdparty import attr 26 from .thirdparty import attr
28 from . import ( 27 from . import (
29 copies as copiesmod, 28 copies as copiesmod,
30 encoding, 29 encoding,
31 error, 30 error,