Show More
@@ -68,8 +68,8 b' testpats = [' | |||
|
68 | 68 | (r'head -c', "don't use 'head -c', use 'dd'"), |
|
69 | 69 | (r'sha1sum', "don't use sha1sum, use $TESTDIR/md5sum.py"), |
|
70 | 70 | (r'ls.*-\w*R', "don't use 'ls -R', use 'find'"), |
|
71 | (r'printf.*\\([1-9]|0\d)', "don't use 'printf \NNN', use Python"), | |
|
72 | (r'printf.*\\x', "don't use printf \\x, use Python"), | |
|
71 | (r'printf.*[^\\]\\([1-9]|0\d)', "don't use 'printf \NNN', use Python"), | |
|
72 | (r'printf.*[^\\]\\x', "don't use printf \\x, use Python"), | |
|
73 | 73 | (r'\$\(.*\)', "don't use $(expr), use `expr`"), |
|
74 | 74 | (r'rm -rf \*', "don't use naked rm -rf, target a directory"), |
|
75 | 75 | (r'(^|\|\s*)grep (-\w\s+)*[^|]*[(|]\w', |
@@ -17,7 +17,7 b' hg debugsub with no remapping' | |||
|
17 | 17 | hg debugsub with remapping |
|
18 | 18 | |
|
19 | 19 | $ echo '[subpaths]' >> .hg/hgrc |
|
20 |
$ printf 'http://example.net/lib(.*) = C:\\libs\\\\1-lib\\\n' >> .hg/hgrc |
|
|
20 | $ printf 'http://example.net/lib(.*) = C:\\libs\\\\1-lib\\\n' >> .hg/hgrc | |
|
21 | 21 | |
|
22 | 22 | $ hg debugsub |
|
23 | 23 | path sub |
General Comments 0
You need to be logged in to leave comments.
Login now