diff mercurial/hgweb/webutil.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 66eb74f9d87d
children e7aa113b14f7
line wrap: on
line diff
--- a/mercurial/hgweb/webutil.py	Fri Jul 06 21:41:36 2018 +0900
+++ b/mercurial/hgweb/webutil.py	Fri Jul 06 21:49:25 2018 +0900
@@ -25,6 +25,7 @@
 
 from .. import (
     context,
+    diffutil,
     error,
     match,
     mdiff,
@@ -41,7 +42,6 @@
 )
 
 from ..utils import (
-    diffutil,
     stringutil,
 )