<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Filters not invoked for files in subdirectories?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">With Mercurial 0.7, under Linux:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">[~/foo] cat .hg/hgrc</FONT>

<BR><FONT SIZE=2 FACE="Arial">[encode]</FONT>

<BR><FONT SIZE=2 FACE="Arial">*.txt = txt2unix</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">[decode]</FONT>

<BR><FONT SIZE=2 FACE="Arial">*.txt = txt2dos</FONT>

<BR><FONT SIZE=2 FACE="Arial">[~/foo] hg addremove</FONT>

<BR><FONT SIZE=2 FACE="Arial">adding bar/foobar.txt</FONT>

<BR><FONT SIZE=2 FACE="Arial">adding foo.txt</FONT>

<BR><FONT SIZE=2 FACE="Arial">[~/foo] hg --debug commit -m test</FONT>

<BR><FONT SIZE=2 FACE="Arial">bar/foobar.txt</FONT>

<BR><FONT SIZE=2 FACE="Arial">foo.txt</FONT>

<BR><FONT SIZE=2 FACE="Arial">filtering foo.txt through txt2unix</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">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?</FONT></P>

<P><FONT SIZE=2 FACE="Arial">-- Olivier</FONT>
</P>

</BODY>
</HTML>