comparison contrib/synthrepo.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 876494fd967d
comparison
equal deleted inserted replaced
38588:b62000a28812 38589:1c93e0237a24
52 nullrev, 52 nullrev,
53 short, 53 short,
54 ) 54 )
55 from mercurial import ( 55 from mercurial import (
56 context, 56 context,
57 diffutil,
57 error, 58 error,
58 hg, 59 hg,
59 patch, 60 patch,
60 registrar, 61 registrar,
61 scmutil, 62 scmutil,
62 ) 63 )
63 from mercurial.utils import ( 64 from mercurial.utils import (
64 dateutil, 65 dateutil,
65 diffutil,
66 ) 66 )
67 67
68 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for 68 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
69 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should 69 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
70 # be specifying the version(s) of Mercurial they are tested with, or 70 # be specifying the version(s) of Mercurial they are tested with, or