[PATCH] new command debugignore

Jason Harris jason at jasonfharris.com
Sun Jul 4 09:43:35 CDT 2010


On Jul 4, 2010, at 4:37 PM, Martin Geisler wrote:

> Jason Harris <jason at jasonfharris.com> writes:
> 
>> On Jul 4, 2010, at 2:41 PM, Martin Geisler wrote:
>>> However, a more ambitious and interesting command would be one that
>>> tells you exactly which line of which ignore file is responsible for
>>> ignoring a particular file. Something that would allow me to do this:
>>> 
>>> % hg debugignore foo/bar/x.c
>>> .hgignore:17 foo
>> 
>> Ahh... I guess that would be useful for some people as well. However
>> for my purposes I need something which implements what I added. But I
>> can see that it might not be so useful to others... Would you want
>> this current command with a different name or maybe you guys wouldn't
>> want it in core Mercurial at all, and I will just leave it in my
>> patched version which ships with MacHg (once I implement your
>> suggestions...)
> 
> I think it should be an extension -- printing the big, ugly regexp seems
> of little use as a core feature. You can then ship and enable the
> extension by default in MacHg.

Ok.

Cheers,
  Jas


More information about the Mercurial-devel mailing list