##// END OF EJS Templates
check-code: detect "% inside _()" when there are leading whitespaces...
check-code: detect "% inside _()" when there are leading whitespaces Before this patch, "contrib/check-code.py" can't detect "% inside _()" correctly, when there are leading whitespaces before the format string, like below: _( "format string %s" % v) This patch adds regexp pattern "[ \t\n]*" before the pattern matching against the format string. "[\s\n]" can't be used in this purpose, because "\s" is automatically replaced with "[ \t]" by "_preparepats()" and "\s" in "[]" causes nested "[]" unexpectedly.

File last commit:

r8936:1de6e7e1 default
r21097:e8ef59b3 default
Show More
postinstall.txt
9 lines | 251 B | text/plain | TextLexer
Welcome to Mercurial for Windows!
---------------------------------
For configuration and usage directions, please read the ReadMe.html
file that comes with this package.
Also check the release notes at:
http://mercurial.selenic.com/wiki/WhatsNew