bzr add

Robey Pointer robey at
Wed Aug 24 06:44:10 BST 2005

On 23 Aug 2005, at 17:00, Johan Rydberg wrote:

> Hash: SHA1
> Robey Pointer <robey at> writes:
>> It looks like "bzr add <folder>" adds not just the folder, but
>> everything in it.  But sometimes I only want to add *some* things in
>> the folder (for example, not .pyc files).  bzr is giving an error on
>> attempts to do these partial adds:
> I suggest you look at "bzr add --help" and specially for the
> - --no-recurse option.

Well, that's surprising enough. :)

The default behavior for commands (ie, the behavior with no options)  
should be the simplest or least surprising.

The attached patch fixes "add" to default to non-recursive, using -R  
or --recurse to get recursive behavior, and fixes the tests to  
follow.  It also gets rid of a double negative. :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-recurse.cset
Type: application/octet-stream
Size: 4944 bytes
Desc: not available
Url : 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : 

More information about the bazaar mailing list