mercurial/patch.py
changeset 32370 017ad85e5ac8
parent 32320 0e29ce16ec38
child 32979 66117dae87f9
--- a/mercurial/patch.py	Sat Aug 13 12:12:50 2016 +0900
+++ b/mercurial/patch.py	Sat Aug 13 12:15:49 2016 +0900
@@ -27,18 +27,20 @@
 )
 from . import (
     copies,
-    diffhelpers,
     encoding,
     error,
     mail,
     mdiff,
     pathutil,
+    policy,
     pycompat,
     scmutil,
     similar,
     util,
     vfs as vfsmod,
 )
+
+diffhelpers = policy.importmod(r'diffhelpers')
 stringio = util.stringio
 
 gitre = re.compile(br'diff --git a/(.*) b/(.*)')