diff contrib/synthrepo.py @ 38588:1c93e0237a24

diffutil: move the module out of utils package mercurial.utils modules inherit the property of the mercurial.util, which is no dependency on ui, repo, ctx, etc. As the diffutil module seems to reside in the scmutil layer, it's probably better to not put it under the utils package.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 06 Jul 2018 21:49:25 +0900
parents b62000a28812
children 876494fd967d
line wrap: on
line diff
--- a/contrib/synthrepo.py	Fri Jul 06 21:41:36 2018 +0900
+++ b/contrib/synthrepo.py	Fri Jul 06 21:49:25 2018 +0900
@@ -54,6 +54,7 @@
 )
 from mercurial import (
     context,
+    diffutil,
     error,
     hg,
     patch,
@@ -62,7 +63,6 @@
 )
 from mercurial.utils import (
     dateutil,
-    diffutil,
 )
 
 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for