[MERGE] bzr add should be less chatty about ignore rules

Wayne Davison wayned at samba.org
Thu May 18 21:54:58 BST 2006


On Thu, May 18, 2006 at 05:31:10PM +1000, Robert Collins wrote:
> This makes bzr add report only the total number of ignored files, rather
> than the individual ignore rules.

The thing I don't like about this is that there's no way to get the nice
summarized version of the current, default output.  Seeing something
like this:

    ignored 57 file(s) matching "*.o"

is much nicer than seeing all 57 of those files output individually (as
would happen if I had to use -v).  Perhaps what you really need is a
--terse output mode that condenses the ignores down to one summarized
line.

As long as I'm talking about "bzr add", let me mention one thing about
the command that annoys me immensely: versioned files get mentioned in
the list of ignored files.  For instance, the default ignore rules
ignore "configure" and "config.h.in", but both these files have been
added to the repository of a project I work on.  If I run "bzr add",
they get mentioned as ignored files when they should not (and indeed,
"bzr ignored" does not mention them).  I assume the fix would be to move
the check against the ignore list until after the file-is-versioned
check is performed.

..wayne..




More information about the bazaar mailing list