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

John Arbash Meinel john at arbash-meinel.com
Thu May 18 22:36:47 BST 2006


Wayne Davison wrote:
> 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..

That is definitely a plain bug, I agree. I actually just saw that
myself, where I had a clean tree, added one file, and I got back that
there was an ignored file, but 'bzr ignored' didn't list anything.

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060518/2a779a24/attachment.pgp 


More information about the bazaar mailing list