comparison 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
comparison
equal deleted inserted replaced
38587:b62000a28812 38588:1c93e0237a24
23 paritygen, 23 paritygen,
24 ) 24 )
25 25
26 from .. import ( 26 from .. import (
27 context, 27 context,
28 diffutil,
28 error, 29 error,
29 match, 30 match,
30 mdiff, 31 mdiff,
31 obsutil, 32 obsutil,
32 patch, 33 patch,
39 ui as uimod, 40 ui as uimod,
40 util, 41 util,
41 ) 42 )
42 43
43 from ..utils import ( 44 from ..utils import (
44 diffutil,
45 stringutil, 45 stringutil,
46 ) 46 )
47 47
48 archivespecs = util.sortdict(( 48 archivespecs = util.sortdict((
49 ('zip', ('application/zip', 'zip', '.zip', None)), 49 ('zip', ('application/zip', 'zip', '.zip', None)),