Mercurial > hg
comparison hgext/mq.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 | f8bf1a8e9181 |
comparison
equal
deleted
inserted
replaced
50928:d718eddf01d9 | 50929:18c8c18993f0 |
---|---|
73 hex, | 73 hex, |
74 nullrev, | 74 nullrev, |
75 short, | 75 short, |
76 ) | 76 ) |
77 from mercurial.pycompat import ( | 77 from mercurial.pycompat import ( |
78 delattr, | |
79 getattr, | |
80 open, | 78 open, |
81 ) | 79 ) |
82 from mercurial import ( | 80 from mercurial import ( |
83 cmdutil, | 81 cmdutil, |
84 commands, | 82 commands, |