[MERGE] Implement the oft-discussed automatic-add-and-delete at commit time.
Aaron Bentley
aaron at aaronbentley.com
Wed Aug 6 05:43:59 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robert Collins wrote:
> On Tue, 2008-08-05 at 07:59 -0400, Aaron Bentley wrote:
>
>> Am I correctly understanding that this patch takes away the ability to
>> have auto-delete without auto-add?
>>
>> If so, DO NOT WANT.
>
> Yes, it does.
>
> Why is auto-delete better/safer than auto-add?
- - I often have files in my tree temporarily that I do not want to add
- - the standard mv command would cause a delete and add, which is a bad
failure mode
- - I have much stronger control over which files are deleted from my tree
than which files are added to my tree.
> Also, assuming that it makes sense to allow automatic add (I believe it
> does), how to present this - what options/flags etc should we have.
I don't necessarily agree that it makes sense. Maybe for scripting. I
guess --auto-add would work. But for scripting, "bzr add && bzr commit"
is sufficient.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFImSwP0F+nu1YWqI0RAlSlAJ9ylfB+6+BnDUWLgJawSeAcAOTIHACfZDTS
6eZFILH2DGbgR0LV1wZoq9w=
=utoK
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list