comparison mercurial/revset.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 5460926352ee
comparison
equal deleted inserted replaced
38587:b62000a28812 38588:1c93e0237a24
11 11
12 from .i18n import _ 12 from .i18n import _
13 from . import ( 13 from . import (
14 dagop, 14 dagop,
15 destutil, 15 destutil,
16 diffutil,
16 encoding, 17 encoding,
17 error, 18 error,
18 hbisect, 19 hbisect,
19 match as matchmod, 20 match as matchmod,
20 node, 21 node,
31 stack as stackmod, 32 stack as stackmod,
32 util, 33 util,
33 ) 34 )
34 from .utils import ( 35 from .utils import (
35 dateutil, 36 dateutil,
36 diffutil,
37 stringutil, 37 stringutil,
38 ) 38 )
39 39
40 # helpers for processing parsed tree 40 # helpers for processing parsed tree
41 getsymbol = revsetlang.getsymbol 41 getsymbol = revsetlang.getsymbol