Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/revlog.py @ 43089:c59eb1560c44
py3: manually import getattr where it is needed
The march continues.
Differential Revision: https://phab.mercurial-scm.org/D7009
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 06 Oct 2019 16:55:18 -0400 |
parents | 687b865b95ad |
children | d783f945a701 |
comparison
equal
deleted
inserted
replaced
43088:0d612db7047c | 43089:c59eb1560c44 |
---|---|
33 wdirhex, | 33 wdirhex, |
34 wdirid, | 34 wdirid, |
35 wdirrev, | 35 wdirrev, |
36 ) | 36 ) |
37 from .i18n import _ | 37 from .i18n import _ |
38 from .pycompat import getattr | |
38 from .revlogutils.constants import ( | 39 from .revlogutils.constants import ( |
39 FLAG_GENERALDELTA, | 40 FLAG_GENERALDELTA, |
40 FLAG_INLINE_DATA, | 41 FLAG_INLINE_DATA, |
41 REVLOGV0, | 42 REVLOGV0, |
42 REVLOGV1, | 43 REVLOGV1, |