Show More
@@ -17,7 +17,6 b' import traceback' | |||||
17 |
|
17 | |||
18 | # Modules that have both Python and C implementations. |
|
18 | # Modules that have both Python and C implementations. | |
19 | _dualmodules = ( |
|
19 | _dualmodules = ( | |
20 | 'diffhelpers.py', |
|
|||
21 | 'mpatch.py', |
|
20 | 'mpatch.py', | |
22 | 'parsers.py', |
|
21 | 'parsers.py', | |
23 | ) |
|
22 | ) |
@@ -26,7 +26,6 b' allowsymbolimports = (' | |||||
26 |
|
26 | |||
27 | # Modules that have both Python and C implementations. |
|
27 | # Modules that have both Python and C implementations. | |
28 | _dualmodules = ( |
|
28 | _dualmodules = ( | |
29 | 'diffhelpers.py', |
|
|||
30 | 'mpatch.py', |
|
29 | 'mpatch.py', | |
31 | 'parsers.py', |
|
30 | 'parsers.py', | |
32 | ) |
|
31 | ) |
@@ -14,7 +14,7 b'' | |||||
14 | <File Name="library.zip" KeyPath="yes" /> |
|
14 | <File Name="library.zip" KeyPath="yes" /> | |
15 | <File Name="mercurial.cext.base85.pyd" /> |
|
15 | <File Name="mercurial.cext.base85.pyd" /> | |
16 | <File Name="mercurial.cext.bdiff.pyd" /> |
|
16 | <File Name="mercurial.cext.bdiff.pyd" /> | |
17 | <File Name="mercurial.diffhelpers.pyd" /> |
|
17 | <File Name="mercurial.cext.diffhelpers.pyd" /> | |
18 | <File Name="mercurial.mpatch.pyd" /> |
|
18 | <File Name="mercurial.mpatch.pyd" /> | |
19 | <File Name="mercurial.cext.osutil.pyd" /> |
|
19 | <File Name="mercurial.cext.osutil.pyd" /> | |
20 | <File Name="mercurial.parsers.pyd" /> |
|
20 | <File Name="mercurial.parsers.pyd" /> |
@@ -23,7 +23,6 b' modulepolicy = policy.policy' | |||||
23 | # Modules that have both Python and C implementations. See also the |
|
23 | # Modules that have both Python and C implementations. See also the | |
24 | # set of .py files under mercurial/pure/. |
|
24 | # set of .py files under mercurial/pure/. | |
25 | _dualmodules = { |
|
25 | _dualmodules = { | |
26 | 'mercurial.diffhelpers', |
|
|||
27 | 'mercurial.mpatch', |
|
26 | 'mercurial.mpatch', | |
28 | 'mercurial.parsers', |
|
27 | 'mercurial.parsers', | |
29 | } |
|
28 | } |
1 | NO CONTENT: file renamed from mercurial/diffhelpers.c to mercurial/cext/diffhelpers.c |
|
NO CONTENT: file renamed from mercurial/diffhelpers.c to mercurial/cext/diffhelpers.c |
@@ -27,18 +27,20 b' from .node import (' | |||||
27 | ) |
|
27 | ) | |
28 | from . import ( |
|
28 | from . import ( | |
29 | copies, |
|
29 | copies, | |
30 | diffhelpers, |
|
|||
31 | encoding, |
|
30 | encoding, | |
32 | error, |
|
31 | error, | |
33 | mail, |
|
32 | mail, | |
34 | mdiff, |
|
33 | mdiff, | |
35 | pathutil, |
|
34 | pathutil, | |
|
35 | policy, | |||
36 | pycompat, |
|
36 | pycompat, | |
37 | scmutil, |
|
37 | scmutil, | |
38 | similar, |
|
38 | similar, | |
39 | util, |
|
39 | util, | |
40 | vfs as vfsmod, |
|
40 | vfs as vfsmod, | |
41 | ) |
|
41 | ) | |
|
42 | ||||
|
43 | diffhelpers = policy.importmod(r'diffhelpers') | |||
42 | stringio = util.stringio |
|
44 | stringio = util.stringio | |
43 |
|
45 | |||
44 | gitre = re.compile(br'diff --git a/(.*) b/(.*)') |
|
46 | gitre = re.compile(br'diff --git a/(.*) b/(.*)') |
@@ -628,7 +628,7 b' extmodules = [' | |||||
628 | 'mercurial/cext/bdiff.c'], |
|
628 | 'mercurial/cext/bdiff.c'], | |
629 | include_dirs=common_include_dirs, |
|
629 | include_dirs=common_include_dirs, | |
630 | depends=common_depends + ['mercurial/bdiff.h']), |
|
630 | depends=common_depends + ['mercurial/bdiff.h']), | |
631 | Extension('mercurial.diffhelpers', ['mercurial/diffhelpers.c'], |
|
631 | Extension('mercurial.cext.diffhelpers', ['mercurial/cext/diffhelpers.c'], | |
632 | include_dirs=common_include_dirs, |
|
632 | include_dirs=common_include_dirs, | |
633 | depends=common_depends), |
|
633 | depends=common_depends), | |
634 | Extension('mercurial.mpatch', ['mercurial/mpatch.c', |
|
634 | Extension('mercurial.mpatch', ['mercurial/mpatch.c', |
General Comments 0
You need to be logged in to leave comments.
Login now