why does bazaar not add a file automatically on the first commit

Stefan Monnier monnier at iro.umontreal.ca
Wed Apr 23 22:22:07 BST 2008


> 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.


        Stefan




More information about the bazaar mailing list