[PATCH] new command debugignore

Jason Harris jason at jasonfharris.com
Sun Jul 4 10:57:35 CDT 2010


On Jul 4, 2010, at 5:47 PM, Dirkjan Ochtman wrote:

> On Sun, Jul 4, 2010 at 17:44, Martin Geisler <mg at lazybytes.net> wrote:
>> I would prefer that a debugignore command does something like I
>> suggested. I can see how showing the regexp can be nice for a front-end
>> like MacHg. Perhaps that command could be called debugignorerexexp.
> 
> It could just do both, depending on if it's given a filename...
> 

Well currently as I have it implemented

hg debugignore filename1 [filename2]...

tries to interprete filename_i as .hgignore file's, it doesn't actually try and determine if filename is ignored according to the .hgignore chain.

If there was a combined command then likely we would need options... Maybe its best to just change this command to debugignorerexexp?

Cheers,
  Jas


More information about the Mercurial-devel mailing list