Mercurial > hg
comparison mercurial/manifest.py @ 32372:df448de7cf3b
parsers: switch to policy importer
# no-check-commit
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 13 Aug 2016 12:23:56 +0900 |
parents | d67991c4fefe |
children | 260a6f715bd2 |
comparison
equal
deleted
inserted
replaced
32371:151cc3b3d799 | 32372:df448de7cf3b |
---|---|
17 hex, | 17 hex, |
18 ) | 18 ) |
19 from . import ( | 19 from . import ( |
20 error, | 20 error, |
21 mdiff, | 21 mdiff, |
22 parsers, | 22 policy, |
23 revlog, | 23 revlog, |
24 util, | 24 util, |
25 ) | 25 ) |
26 | 26 |
27 parsers = policy.importmod(r'parsers') | |
27 propertycache = util.propertycache | 28 propertycache = util.propertycache |
28 | 29 |
29 def _parsev1(data): | 30 def _parsev1(data): |
30 # This method does a little bit of excessive-looking | 31 # This method does a little bit of excessive-looking |
31 # precondition checking. This is so that the behavior of this | 32 # precondition checking. This is so that the behavior of this |