[PATCH] Strip filter name from command before passing to filter function

Patrick Mézard pmezard at gmail.com
Sat Feb 9 16:34:57 CST 2008


Jesse Glick a écrit :
> # HG changeset patch
> # User Jesse Glick <jesse.glick at sun.com>
> # Date 1202578078 18000
> # Node ID 290048536da3aa15cb7ed17bc3823de52e957981
> # Parent  e2cbdd93134105f9c11f05c6e2a4c32e5a0e6945
> Strip filter name from command before passing to filter function.
> 
> The new registration of in-process data filters (introduced in
> f8ad3b76e923 & 11af38a592ae) failed to correctly strip the filter name
> from its arguments before passing the "command" to the filter
> function. Thus a registration such as
> 
> [decode]
> *.gz = compress: -9
> 
> would result in the associated filter function being called with the
> argument 'compress: -9' rather than just '-9' as expected.

In crew as f3a8b5360100. Thanks!


More information about the Mercurial-devel mailing list