comparison mercurial/templatekw.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 87a581d1391c
comparison
equal deleted inserted replaced
38587:b62000a28812 38588:1c93e0237a24
12 hex, 12 hex,
13 nullid, 13 nullid,
14 ) 14 )
15 15
16 from . import ( 16 from . import (
17 diffutil,
17 encoding, 18 encoding,
18 error, 19 error,
19 hbisect, 20 hbisect,
20 i18n, 21 i18n,
21 obsutil, 22 obsutil,
25 scmutil, 26 scmutil,
26 templateutil, 27 templateutil,
27 util, 28 util,
28 ) 29 )
29 from .utils import ( 30 from .utils import (
30 diffutil,
31 stringutil, 31 stringutil,
32 ) 32 )
33 33
34 _hybrid = templateutil.hybrid 34 _hybrid = templateutil.hybrid
35 hybriddict = templateutil.hybriddict 35 hybriddict = templateutil.hybriddict