templater: handle SyntaxError when parsing ui.logtemplate
Before, Mercurial would crash with a traceback ending with
SyntaxError: unmatched quotes
if you configured
[ui]
logtemplate = {rev}\n
The SyntaxError is now catched and the string is re-parsed without
requiring quotes.
i18n-pt_BR: synchronized with
95ca6c8b38da
tests: unify the last sh tests
This requires a slightly smarter check-code check for sed output filtering.
tests: run most check-code sh checks on continued lines too
Some false errors are degraded to warnings and whitelisted.