diff mercurial/dirstate.py @ 32411: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 b2de7fced2fa
children b98199a5c3e1
line wrap: on
line diff
--- a/mercurial/dirstate.py	Sat Aug 13 12:18:58 2016 +0900
+++ b/mercurial/dirstate.py	Sat Aug 13 12:23:56 2016 +0900
@@ -19,14 +19,16 @@
     encoding,
     error,
     match as matchmod,
-    parsers,
     pathutil,
+    policy,
     pycompat,
     scmutil,
     txnutil,
     util,
 )
 
+parsers = policy.importmod(r'parsers')
+
 propertycache = util.propertycache
 filecache = scmutil.filecache
 _rangemask = 0x7fffffff