[issue416] -X -I dont override .hgignore rules

Thomas Arendsen Hein thomas at intevation.de
Thu Nov 9 16:33:30 UTC 2006


* Brendan Cully <brendan at kublai.com> [20061109 17:07]:
> On Thursday, 09 November 2006 at 13:53, Sascha Wilde wrote:
> > Does nothing.  I would expect "-I ." to override the ignore all rule from
> > .hgignore and thereby allow me to add the directory narf recursively.
> 
> I would rather not see this "fixed." Suppose .hgignore is configured
> to ignore *.tmp, and you've added a bunch of files all over your
> working dir but you only want to commit the ones in subdirectory
> foo. With your proposed change it's somewhat painful to skip over
> foo/**/*.tmp.

"hg ci foo" should do this and use the ignores from .hgignore.

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/



More information about the Mercurial-devel mailing list