Mercurial > public > mercurial-scm > hg
comparison mercurial/revset.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 | 386737600689 |
children | de5bf3fe0233 |
comparison
equal
deleted
inserted
replaced
50925:d718eddf01d9 | 50926:18c8c18993f0 |
---|---|
10 import functools | 10 import functools |
11 import random | 11 import random |
12 import re | 12 import re |
13 | 13 |
14 from .i18n import _ | 14 from .i18n import _ |
15 from .pycompat import getattr | |
16 from .node import ( | 15 from .node import ( |
17 bin, | 16 bin, |
18 nullrev, | 17 nullrev, |
19 wdirrev, | 18 wdirrev, |
20 ) | 19 ) |