##// END OF EJS Templates
copyfile: allow optional hardlinking...
copyfile: allow optional hardlinking Some code paths use 'copyfiles' (full tree) for a single file to take advantage of the best-effort-hard-linking parameter. We add similar parameter and logic to 'copyfile' (single file) for this purpose. The single file version have the advantage to overwrite the destination file if it exists.

File last commit:

r22047:8fb6844a default
r23899:4e451d13 default
Show More
test-check-code-hg.t
15 lines | 661 B | text/troff | Tads3Lexer
/ tests / test-check-code-hg.t
Matt Mackall
tests: change some #ifs to #requires
r22047 #require test-repo
Matt Mackall
test-check-code-hg: use test-repo check
r21223
Mads Kiilerich
tests: convert test-check-code-hg.py to .t
r15557 $ check_code="$TESTDIR"/../contrib/check-code.py
$ cd "$TESTDIR"/..
Mads Kiilerich
tests: run check-code with warnings and maintain a whitelist...
r15558
Simon Heimberg
tests: check-code all python files in one run
r19384 New errors are not allowed. Warnings are strongly discouraged.
Simon Heimberg
check-code: always report when a file is skipped by "no-check-code"...
r20239 (The writing "no-che?k-code" is for not skipping this file when checking.)
Simon Heimberg
tests: check-code all python files in one run
r19384
Matt Mackall
test-check-code-hg: use locate instead of manifest
r21225 $ hg locate | sed 's-\\-/-g' |
Simon Heimberg
tests: test-check-code-hg.t works for all files to check...
r19495 > xargs "$check_code" --warnings --per-file=0 || false
Simon Heimberg
check-code: always report when a file is skipped by "no-check-code"...
r20239 Skipping hgext/zeroconf/Zeroconf.py it has no-che?k-code (glob)
Skipping i18n/polib.py it has no-che?k-code (glob)
Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
Skipping mercurial/httpclient/socketutil.py it has no-che?k-code (glob)