[issue416] -X -I dont override .hgignore rules
Sascha Wilde
mercurial-bugs at selenic.com
Thu Nov 9 13:53:02 UTC 2006
New submission from Sascha Wilde <wilde at intevation.de>:
Following the rule that command line options take precedence over configuration
files, a user (at least me) would expect the -I (--include) and -X (--exclude)
options to override rules from the .hgignore file.
But they don't.
Example:
% hg init
% mkdir narf
% touch narf/poit narf/zort
% echo . >.hgignore
% hg add -I . narf
Does nothing. I would expect "-I ." to override the ignore all rule from
.hgignore and thereby allow me to add the directory narf recursively.
----------
messages: 2338
nosy: ThomasAH, wilde
priority: feature
status: unread
title: -X -I dont override .hgignore rules
topic: surprise
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue416>
____________________________________________________
More information about the Mercurial-devel
mailing list