Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/debugcommands.py @ 50952: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 | 2a7dba8658a7 |
comparison
equal
deleted
inserted
replaced
50951:d718eddf01d9 | 50952:18c8c18993f0 |
---|---|
31 hex, | 31 hex, |
32 nullrev, | 32 nullrev, |
33 short, | 33 short, |
34 ) | 34 ) |
35 from .pycompat import ( | 35 from .pycompat import ( |
36 getattr, | |
37 open, | 36 open, |
38 ) | 37 ) |
39 from . import ( | 38 from . import ( |
40 bundle2, | 39 bundle2, |
41 bundlerepo, | 40 bundlerepo, |