Show More
@@ -21,7 +21,6 b' import traceback' | |||
|
21 | 21 | 'bdiff.py', |
|
22 | 22 | 'diffhelpers.py', |
|
23 | 23 | 'mpatch.py', |
|
24 | 'osutil.py', | |
|
25 | 24 | 'parsers.py', |
|
26 | 25 | ) |
|
27 | 26 |
@@ -30,7 +30,6 b' allowsymbolimports = (' | |||
|
30 | 30 | 'bdiff.py', |
|
31 | 31 | 'diffhelpers.py', |
|
32 | 32 | 'mpatch.py', |
|
33 | 'osutil.py', | |
|
34 | 33 | 'parsers.py', |
|
35 | 34 | ) |
|
36 | 35 |
@@ -16,7 +16,7 b'' | |||
|
16 | 16 | <File Name="mercurial.bdiff.pyd" /> |
|
17 | 17 | <File Name="mercurial.diffhelpers.pyd" /> |
|
18 | 18 | <File Name="mercurial.mpatch.pyd" /> |
|
19 | <File Name="mercurial.osutil.pyd" /> | |
|
19 | <File Name="mercurial.cext.osutil.pyd" /> | |
|
20 | 20 | <File Name="mercurial.parsers.pyd" /> |
|
21 | 21 | <File Name="pyexpat.pyd" /> |
|
22 | 22 | <File Name="bz2.pyd" /> |
@@ -27,7 +27,6 b' modulepolicy = policy.policy' | |||
|
27 | 27 | 'mercurial.bdiff', |
|
28 | 28 | 'mercurial.diffhelpers', |
|
29 | 29 | 'mercurial.mpatch', |
|
30 | 'mercurial.osutil', | |
|
31 | 30 | 'mercurial.parsers', |
|
32 | 31 | } |
|
33 | 32 |
|
1 | NO CONTENT: file renamed from mercurial/osutil.c to mercurial/cext/osutil.c |
@@ -1029,6 +1029,8 b' def debuginstall(ui, **opts):' | |||
|
1029 | 1029 | base85, |
|
1030 | 1030 | bdiff, |
|
1031 | 1031 | mpatch, |
|
1032 | ) | |
|
1033 | from .cext import ( | |
|
1032 | 1034 | osutil, |
|
1033 | 1035 | ) |
|
1034 | 1036 | dir(bdiff), dir(mpatch), dir(base85), dir(osutil) # quiet pyflakes |
@@ -13,7 +13,7 b' import os' | |||
|
13 | 13 | import socket |
|
14 | 14 | import stat as statmod |
|
15 | 15 | |
|
16 | from . import ( | |
|
16 | from .. import ( | |
|
17 | 17 | policy, |
|
18 | 18 | pycompat, |
|
19 | 19 | ) |
@@ -46,11 +46,13 b' from . import (' | |||
|
46 | 46 | encoding, |
|
47 | 47 | error, |
|
48 | 48 | i18n, |
|
49 | osutil, | |
|
50 | 49 | parsers, |
|
50 | policy, | |
|
51 | 51 | pycompat, |
|
52 | 52 | ) |
|
53 | 53 | |
|
54 | osutil = policy.importmod(r'osutil') | |
|
55 | ||
|
54 | 56 | b85decode = base85.b85decode |
|
55 | 57 | b85encode = base85.b85encode |
|
56 | 58 |
@@ -17,7 +17,7 b' import sys' | |||
|
17 | 17 | from .i18n import _ |
|
18 | 18 | from . import ( |
|
19 | 19 | encoding, |
|
20 |
o |
|
|
20 | policy, | |
|
21 | 21 | pycompat, |
|
22 | 22 | win32, |
|
23 | 23 | ) |
@@ -28,6 +28,8 b' try:' | |||
|
28 | 28 | except ImportError: |
|
29 | 29 | import winreg |
|
30 | 30 | |
|
31 | osutil = policy.importmod(r'osutil') | |
|
32 | ||
|
31 | 33 | executablepath = win32.executablepath |
|
32 | 34 | getuser = win32.getuser |
|
33 | 35 | hidewindow = win32.hidewindow |
@@ -641,7 +641,7 b' extmodules = [' | |||
|
641 | 641 | 'mercurial/pathencode.c'], |
|
642 | 642 | include_dirs=common_include_dirs, |
|
643 | 643 | depends=common_depends), |
|
644 | Extension('mercurial.osutil', ['mercurial/osutil.c'], | |
|
644 | Extension('mercurial.cext.osutil', ['mercurial/cext/osutil.c'], | |
|
645 | 645 | include_dirs=common_include_dirs, |
|
646 | 646 | extra_compile_args=osutil_cflags, |
|
647 | 647 | extra_link_args=osutil_ldflags, |
General Comments 0
You need to be logged in to leave comments.
Login now