branch | mercurial-4.6 |
changeset 5368 | 844b1ad5b34b |
parent 5176 | b9af7b8f3eee |
5284:0471b9ddd0b2 | 5368:844b1ad5b34b |
---|---|
14 from mercurial import ( |
14 from mercurial import ( |
15 localrepo, |
15 localrepo, |
16 scmutil, |
16 scmutil, |
17 ) |
17 ) |
18 |
18 |
19 try: |
19 from mercurial.utils.stringutil import forcebytestr |
20 from mercurial.utils.stringutil import forcebytestr |
|
21 except ImportError: |
|
22 # hg <= 4.5 (f99d64e8a4e4) |
|
23 from mercurial.util import forcebytestr |
|
24 |
20 |
25 from . import ( |
21 from . import ( |
26 compat, |
22 compat, |
27 error, |
23 error, |
28 exthelper, |
24 exthelper, |