##// END OF EJS Templates
util: extract all date-related utils in utils/dateutil module...
util: extract all date-related utils in utils/dateutil module With this commit, util.py lose 262 lines Note for extensions author, if this commit breaks your extension, you can pull the step-by-step split here to help you more easily pinpoint the renaming that broke your extension: hg pull https://bitbucket.org/octobus/mercurial-devel/ -r ac1f6453010d Differential Revision: https://phab.mercurial-scm.org/D2282

File last commit:

r33199:ddd65b4f default
r36625:c6061cad default
Show More
test-check-execute.t
24 lines | 630 B | text/troff | Tads3Lexer
/ tests / test-check-execute.t
timeless
tests: add test-check-execute.t...
r27569 #require test-repo execbit
timeless
tests: silence test-repo obsolete warning...
r29219 $ . "$TESTDIR/helpers-testrepo.sh"
timeless
tests: add test-check-execute.t...
r27569 $ cd "`dirname "$TESTDIR"`"
look for python scripts without the execute bit
Yuya Nishihara
tests: alias syshg and syshgenv so they can be switched conditionally
r33199 $ testrepohg files 'set:**.py and not exec() and grep(r"^#!.*?python")'
timeless
tests: add test-check-execute.t...
r27569 [1]
look for python scripts with execute bit but not shebang
Yuya Nishihara
tests: alias syshg and syshgenv so they can be switched conditionally
r33199 $ testrepohg files 'set:**.py and exec() and not grep(r"^#!.*?python")'
timeless
tests: add test-check-execute.t...
r27569 [1]
look for shell scripts with execute bit but not shebang
Yuya Nishihara
tests: alias syshg and syshgenv so they can be switched conditionally
r33199 $ testrepohg files 'set:**.sh and exec() and not grep(r"^#!.*(ba)?sh")'
timeless
tests: add test-check-execute.t...
r27569 [1]
look for non scripts with no shebang
Yuya Nishihara
tests: alias syshg and syshgenv so they can be switched conditionally
r33199 $ testrepohg files 'set:exec() and not **.sh and not **.py and not grep(r"^#!")'
timeless
tests: add test-check-execute.t...
r27569 [1]