Filters not invoked for files in subdirectories?

Maquelin, Olivier olivier.maquelin at intel.com
Tue Sep 20 20:14:46 CDT 2005


With Mercurial 0.7, under Linux:

[~/foo] cat .hg/hgrc
[encode]
*.txt = txt2unix

[decode]
*.txt = txt2dos
[~/foo] hg addremove
adding bar/foobar.txt
adding foo.txt
[~/foo] hg --debug commit -m test
bar/foobar.txt
foo.txt
filtering foo.txt through txt2unix

I tried other ways to specify the pattern (using re:, glob: ...), but
could not get hg to run the filter on a file located in a subdirectory.
Is this a bug or am I missing something obvious?

-- Olivier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.selenic.com/pipermail/mercurial/attachments/20050920/517fd32b/attachment.htm


More information about the Mercurial mailing list