why does bazaar not add a file automatically on the first commit
Colin D Bennett
colin at gibibit.com
Wed Apr 23 23:16:43 BST 2008
On Wed, 23 Apr 2008 17:22:07 -0400
Stefan Monnier <monnier at iro.umontreal.ca> wrote:
> > My particular reason for not wanting auto-remove is renames:
>
> > bzr add foo
> > bzr commit -m 'foo'
> > mv foo bar
>
> > bzr commit -m "silently remove foo, and ignore bar"
>
> Agreed. As for the argument that it's more convenient for tools,
> I don't believe it either: it'll just make tools behave erratically,
> especially since tools are much worse than humans at noticing some
> inconsistency (unless that inconsistency leads to an actual error).
>
> I'd rather have a separate option or command that asks Bzr to guess
> file (and directory) addition/removal/renames.
Just as long as I have some way to tell Bazaar: "Files have been
removed and added to the files on the filesystem (=tree?). Make It So in
the branch."
The use case is that I have to use a proprietary VCS tool at work but
I use bzr locally on my machine for my own changes. When I update the
tree with upstream changes using the proprietary tool, there may be
hundreds of removes that I sure don't want to do by hand.
Colin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080423/ce9aeae7/attachment-0002.pgp
More information about the bazaar
mailing list