diff mercurial/debugcommands.py @ 32410:151cc3b3d799

mpatch: switch to policy importer
author Yuya Nishihara <yuya@tcha.org>
date Sat, 13 Aug 2016 12:18:58 +0900
parents 3b88a7fa97d8
children 04baab18d60a
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Sat Aug 13 12:15:49 2016 +0900
+++ b/mercurial/debugcommands.py	Sat Aug 13 12:18:58 2016 +0900
@@ -1025,12 +1025,10 @@
     if policy.policy in ('c', 'allow'):
         err = None
         try:
-            from . import (
-                mpatch,
-            )
             from .cext import (
                 base85,
                 bdiff,
+                mpatch,
                 osutil,
             )
             dir(bdiff), dir(mpatch), dir(base85), dir(osutil) # quiet pyflakes