comparison mercurial/patch.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 e1987261dd05
comparison
equal deleted inserted replaced
38588:b62000a28812 38589:1c93e0237a24
26 short, 26 short,
27 ) 27 )
28 from . import ( 28 from . import (
29 copies, 29 copies,
30 diffhelper, 30 diffhelper,
31 diffutil,
31 encoding, 32 encoding,
32 error, 33 error,
33 mail, 34 mail,
34 mdiff, 35 mdiff,
35 pathutil, 36 pathutil,
39 util, 40 util,
40 vfs as vfsmod, 41 vfs as vfsmod,
41 ) 42 )
42 from .utils import ( 43 from .utils import (
43 dateutil, 44 dateutil,
44 diffutil,
45 procutil, 45 procutil,
46 stringutil, 46 stringutil,
47 ) 47 )
48 48
49 stringio = util.stringio 49 stringio = util.stringio