eol: be explicit about how to enable hook (
issue2661)
eol: stop after first matched rule in hook (
issue2660)
When matching a file against the rules in .hgeol, the eol extension's
hook should stop after the first matching rule is encountered.
Otherwise, if this rule is contradicted by other more general rule
(for example a catch-all at the end of .hgeol), some files are simply
impossible to push. Trivial example:
**.bat = CRLF
** = LF
If all matching rules were applied, a .bat file would be rejected
either because it has LFs (first rule) or because it has CRLFs (second
rule).
i18n-pt_BR: synchronized with
3178aca36b0f
help: document branch template keyword
The branch keyword was added in
d79fdff55627