How to exclude some files from win32text (en|de)code?

Mads Kiilerich mads at kiilerich.com
Mon Jan 4 20:47:29 CST 2010


Kaz Sasayama wrote, On 01/05/2010 02:45 AM:
> I am new to this mailing list and have a question about the win32text 
> extension.  I feel the extension is very nice to use Mercurial on 
> Windows but I still have trouble to configure it to exclude some files 
> from (en|de)code like this:

FWIW: Many users do not think win32text is nice and would like to have 
something else. See http://mercurial.selenic.com/wiki/EOLTranslationPlan .

> [decode]
> ** = cleverdecode:
> **.texi = ## something that does not decode anything

Have you tried specifying the filters in the opposite order? (See the 
patch and thread on 
http://selenic.com/pipermail/mercurial-devel/2010-January/017881.html)

AFAIK there is no builtin filter for "do nothing", but on windows you 
can probably use
**.texi = tempfile: copy INFILE OUTFILE

/Mads


More information about the Mercurial mailing list