Mercurial > public > mercurial-scm > hg
comparison mercurial/util.py @ 32367:a9c71d578a1c
osutil: switch to policy importer
"make clean" is recommended to test this change, though C API compatibility
should be preserved.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 12 Aug 2016 11:35:17 +0900 |
parents | 2d19664e257d |
children | 008d37c4d783 |
comparison
equal
deleted
inserted
replaced
32366:8e0327dae3f4 | 32367:a9c71d578a1c |
---|---|
44 from . import ( | 44 from . import ( |
45 base85, | 45 base85, |
46 encoding, | 46 encoding, |
47 error, | 47 error, |
48 i18n, | 48 i18n, |
49 osutil, | |
50 parsers, | 49 parsers, |
50 policy, | |
51 pycompat, | 51 pycompat, |
52 ) | 52 ) |
53 | |
54 osutil = policy.importmod(r'osutil') | |
53 | 55 |
54 b85decode = base85.b85decode | 56 b85decode = base85.b85decode |
55 b85encode = base85.b85encode | 57 b85encode = base85.b85encode |
56 | 58 |
57 cookielib = pycompat.cookielib | 59 cookielib = pycompat.cookielib |