Mercurial > hg
comparison hgext/sparse.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 | 54d3a6dc2426 |
children | fa87eeeb10ca |
comparison
equal
deleted
inserted
replaced
50928:d718eddf01d9 | 50929:18c8c18993f0 |
---|---|
71 tools/tests/** | 71 tools/tests/** |
72 """ | 72 """ |
73 | 73 |
74 | 74 |
75 from mercurial.i18n import _ | 75 from mercurial.i18n import _ |
76 from mercurial.pycompat import setattr | |
77 from mercurial import ( | 76 from mercurial import ( |
78 cmdutil, | 77 cmdutil, |
79 commands, | 78 commands, |
80 error, | 79 error, |
81 extensions, | 80 extensions, |