[PATCH 4 of 4] ignore: use 'include:' rules instead of custom syntax

Durham Goode durham at fb.com
Tue May 19 16:33:53 CDT 2015



On 5/19/15, 2:31 PM, "Matt Mackall" <mpm at selenic.com> wrote:

>On Mon, 2015-05-18 at 17:23 -0700, Durham Goode wrote:
>> # HG changeset patch
>> # User Durham Goode <durham at fb.com>
>> # Date 1431817582 25200
>> #      Sat May 16 16:06:22 2015 -0700
>> # Node ID dab388963ec2fbffea8cc7d929ad0a45defeafd7
>> # Parent  b7160d16c7b38d38236bbfb2ec075909e361f515
>> ignore: use 'include:' rules instead of custom syntax
>> 
>> Now that the matcher supports 'include:' rules, let's change the
>>dirstate.ignore
>> creation to just create a matcher with a bunch of includes. This allows
>>us to
>> completely delete ignore.py.
>> 
>> I moved some of the syntax documentation over to readpatternfile in
>>match.py so
>> we don't lose it.
>
>Thanks, these are queued for default. Can I get you to take a look at
>help/patterns.txt? Also, do you still intend to add a relinclude?

Yes, the relinclude series is ready (only 3 patches) and will be sent once
I see the include stuff pushed.  I'll do a pass over patterns.txt too.



More information about the Mercurial-devel mailing list