revlog: don't try to partialmatch strings those length > 40
_partialmatch() does prefix matching against nodes. String passed
to _partialmetch() actualy may be any string, not prefix only.
For example,
"
e410be8603932e46a51298748a4b874739037fad or 300" is a good
argument for _partialmatch().
When _partialmatch() searches using radix tree, index_partialmatch()
C function shouldn't try to match too long strings.
i18n-ru: synchronized with
b131e24e2984
i18n-pt_BR: synchronized with
b5c560787a4e
check-code: fix check for trailing whitespace on continued lines too
The tests in test-annotate.t and test-import-git.t that relied on trailing
space in a file created by a here string is now masked by a literal 'EOL'
string that is removed.
check-code: fix check for trailing whitespace on empty lines
It seems like the intention with
c7d23b4ca4ba was to catch lines with only
one whitespace too.
check-code: fix check for trailing whitespace on sh command lines
The $ has been without necessary escaping since introduced in
c7d23b4ca4ba.