New command proposal: hg ignore

Matthieu Moy Matthieu.Moy at imag.fr
Mon Jun 18 14:19:16 UTC 2007


Theodore Tso <tytso at mit.edu> writes:

> On Sun, Jun 17, 2007 at 08:43:40PM +0200, mirza wrote:
>> This proposal is not that far fatched as to replace current .hgignore 
>> files. It is only alternative way of editing those text files for GUIs.
>> 
>> hg ignore --add "*.bak"
>> 
>> would add one line to .hgignore file, unless that line already exists there.
>
> But the problem is that .hgignore file is order dependent.  So the
> order in which lines are found in .hgignore is important!  

What's the influence of the order in .hgignore? It doesn't seem to be
the case according to the man page.

-- 
Matthieu



More information about the Mercurial mailing list