mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
01d8b27701
Before this patch, "contrib/check-code.py" can't detect these problems, because the regexp pattern to detect "% inside _()" doesn't suppose the case that the format string and "%" aren't placed in the same line. This patch replaces "\s" in that regexp pattern with "[ \t\n]" to detect "% inside _()" problems in such case. "[\s\n]" can't be used in this purpose, because "\s" is automatically replaced with "[ \t]" by "_preparepats()" and "\s" in "[]" causes nested "[]" unexpectedly. |
||
---|---|---|
.. | ||
__init__.py | ||
basestore.py | ||
CONTRIBUTORS | ||
lfcommands.py | ||
lfutil.py | ||
localstore.py | ||
overrides.py | ||
proto.py | ||
remotestore.py | ||
reposetup.py | ||
uisetup.py | ||
wirestore.py |