Mercurial > public > mercurial-scm > hg
comparison mercurial/cmdutil.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 | b8f9911c8dca |
comparison
equal
deleted
inserted
replaced
50925:d718eddf01d9 | 50926:18c8c18993f0 |
---|---|
26 hex, | 26 hex, |
27 nullrev, | 27 nullrev, |
28 short, | 28 short, |
29 ) | 29 ) |
30 from .pycompat import ( | 30 from .pycompat import ( |
31 getattr, | |
32 open, | 31 open, |
33 setattr, | |
34 ) | 32 ) |
35 from .thirdparty import attr | 33 from .thirdparty import attr |
36 | 34 |
37 from . import ( | 35 from . import ( |
38 bookmarks, | 36 bookmarks, |