Show More
1 | NO CONTENT: file renamed from contrib/packaging/__init__.py to contrib/packaging/hgpackaging/__init__.py |
|
NO CONTENT: file renamed from contrib/packaging/__init__.py to contrib/packaging/hgpackaging/__init__.py |
@@ -1,4 +1,4 b'' | |||||
1 |
# |
|
1 | # util.py - Common packaging utility code. | |
2 | # |
|
2 | # | |
3 | # Copyright 2019 Gregory Szorc <gregory.szorc@gmail.com> |
|
3 | # Copyright 2019 Gregory Szorc <gregory.szorc@gmail.com> | |
4 | # |
|
4 | # |
@@ -87,7 +87,7 b' def build(source_dir: pathlib.Path, buil' | |||||
87 | for finding the Python 2.7 toolchain. So, we require the environment |
|
87 | for finding the Python 2.7 toolchain. So, we require the environment | |
88 | to already be configured with an active toolchain. |
|
88 | to already be configured with an active toolchain. | |
89 | """ |
|
89 | """ | |
90 | from packagingutil import ( |
|
90 | from hgpackaging.util import ( | |
91 | download_entry, |
|
91 | download_entry, | |
92 | extract_tar_to_directory, |
|
92 | extract_tar_to_directory, | |
93 | extract_zip_to_directory, |
|
93 | extract_zip_to_directory, |
@@ -12,8 +12,8 b' New errors are not allowed. Warnings are' | |||||
12 | > -X hgext/fsmonitor/pywatchman \ |
|
12 | > -X hgext/fsmonitor/pywatchman \ | |
13 | > -X mercurial/thirdparty \ |
|
13 | > -X mercurial/thirdparty \ | |
14 | > | sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false |
|
14 | > | sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false | |
|
15 | Skipping contrib/packaging/hgpackaging/util.py it has no-che?k-code (glob) | |||
15 | Skipping contrib/packaging/inno/build.py it has no-che?k-code (glob) |
|
16 | Skipping contrib/packaging/inno/build.py it has no-che?k-code (glob) | |
16 | Skipping contrib/packaging/packagingutil.py it has no-che?k-code (glob) |
|
|||
17 | Skipping i18n/polib.py it has no-che?k-code (glob) |
|
17 | Skipping i18n/polib.py it has no-che?k-code (glob) | |
18 | Skipping mercurial/statprof.py it has no-che?k-code (glob) |
|
18 | Skipping mercurial/statprof.py it has no-che?k-code (glob) | |
19 | Skipping tests/badserverext.py it has no-che?k-code (glob) |
|
19 | Skipping tests/badserverext.py it has no-che?k-code (glob) |
@@ -21,8 +21,8 b' outputs, which should be fixed later.' | |||||
21 | > -X contrib/debugshell.py \ |
|
21 | > -X contrib/debugshell.py \ | |
22 | > -X contrib/hgweb.fcgi \ |
|
22 | > -X contrib/hgweb.fcgi \ | |
23 | > -X contrib/packaging/hg-docker \ |
|
23 | > -X contrib/packaging/hg-docker \ | |
|
24 | > -X contrib/packaging/hgpackaging/ \ | |||
24 | > -X contrib/packaging/inno/ \ |
|
25 | > -X contrib/packaging/inno/ \ | |
25 | > -X contrib/packaging/packagingutil.py \ |
|
|||
26 | > -X contrib/python-zstandard/ \ |
|
26 | > -X contrib/python-zstandard/ \ | |
27 | > -X contrib/win32/hgwebdir_wsgi.py \ |
|
27 | > -X contrib/win32/hgwebdir_wsgi.py \ | |
28 | > -X contrib/perf-utils/perf-revlog-write-plot.py \ |
|
28 | > -X contrib/perf-utils/perf-revlog-write-plot.py \ |
@@ -5,8 +5,8 b'' | |||||
5 |
|
5 | |||
6 | #if no-py3 |
|
6 | #if no-py3 | |
7 | $ testrepohg files 'set:(**.py)' \ |
|
7 | $ testrepohg files 'set:(**.py)' \ | |
|
8 | > -X contrib/packaging/hgpackaging/ \ | |||
8 | > -X contrib/packaging/inno/ \ |
|
9 | > -X contrib/packaging/inno/ \ | |
9 | > -X contrib/packaging/packagingutil.py \ |
|
|||
10 | > -X hgdemandimport/demandimportpy2.py \ |
|
10 | > -X hgdemandimport/demandimportpy2.py \ | |
11 | > -X mercurial/thirdparty/cbor \ |
|
11 | > -X mercurial/thirdparty/cbor \ | |
12 | > | sed 's|\\|/|g' | xargs "$PYTHON" contrib/check-py3-compat.py |
|
12 | > | sed 's|\\|/|g' | xargs "$PYTHON" contrib/check-py3-compat.py |
General Comments 0
You need to be logged in to leave comments.
Login now