[PATCH] hgrc.5.txt: Describe the encode/decode filter semantics and the command "!"

Mark Hammond skippy.hammond at gmail.com
Wed Apr 15 20:18:47 CDT 2009


Maybe this explains my confusion in the other thread:

> --- a/doc/hgrc.5.txt
> +++ b/doc/hgrc.5.txt
> @@ -107,11 +107,22 @@
> localization/canonicalization of files.
>
> Filters consist of a filter pattern followed by a filter command.
> + The filter commands for all matching filter patterns are applied
> + in an undefined order.

The above implies to me that if a file matches multiple patterns, all 
patterns are applied.  My understanding is that only one filter is 
applied - so the sentence above should say something closer to 'if a 
file matches multiple patterns, an arbitrary one is applied'.

All of my debugging shows my interpretation to be correct - am I wrong?

Cheers,

Mark


More information about the Mercurial-devel mailing list