diff tests/test-context.py @ 38589: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 a75896bf5ccb
line wrap: on
line diff
--- a/tests/test-context.py	Fri Jul 06 21:41:36 2018 +0900
+++ b/tests/test-context.py	Fri Jul 06 21:49:25 2018 +0900
@@ -5,12 +5,12 @@
 from mercurial.node import hex
 from mercurial import (
     context,
+    diffutil,
     encoding,
     hg,
     scmutil,
     ui as uimod,
 )
-from mercurial.utils import diffutil
 
 print_ = print
 def print(*args, **kwargs):