[RFC] Improving bzr add: Add option --message (for auto 'ci')

John Arbash Meinel john at arbash-meinel.com
Fri Mar 16 15:03:03 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jari Aalto wrote:

...

> 
> Whether it's implemented in 'ci' (that's actually better), that's fine.
> For parallel operation, it should also be possible to write:
> 
>   bzr --auto -m "No more needed" rm foo
> 
> I hope you're considering -a for --auto as well, so that typing the commands
> become a joy:
> 
>   bzr -am "message" {rm|ci} foo
> 
> Jari


Well, for me, this should still be 'ci'. The idea of '--auto' is just
that you are telling bzr to figure out what it needs to do. (Remove a
file or add a file).

If you supply paths, then the 'auto' ability is restricted to those
paths, just like it is now.

The specific difference (at the moment) is just that commit --auto will
'add' unknown files rather than ignoring them. (And if you pass the
filenames in directly, it will add rather than failing with "paths not
versioned".)

At the moment we automatically remove if a file is missing. Though we
have discussed it, and feel that we really should be aborting a commit
if there are missing files. (They may have been moved rather than deleted).

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF+rGnJdeBCYSNAAMRAk8qAJ9kjLdwJnXeoKqU0F+oENfqewlCswCglRUi
wwPgOQyjP6CgUjIFXD+yEe8=
=EE14
-----END PGP SIGNATURE-----



More information about the bazaar mailing list