##// END OF EJS Templates
transaction: issue "new obsmarkers" message at the end of the transaction...
transaction: issue "new obsmarkers" message at the end of the transaction Instead of making bundle2 code responsible for this, it seems better to have it handled and the transaction level. First, it means the message will be more consistently printed. Second it means we won't spam the message over and over if the data arrive in multiple piece. Third, we are planning to move other similar message at the same level (for the same reason) so having them all at the same location will help us to control the order they are displayed.

File last commit:

r33199:ddd65b4f default
r43164:38392d5b 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]