Refactoring of Branch.rename_one

John A Meinel john at arbash-meinel.com
Sun Sep 25 15:58:16 BST 2005


Johan Rydberg wrote:
> Hi,
> 
> What do you people think of moving out the some of the code from
> Branch.rename_one to the UI (i.e., builtins.py).  My gut feeling tells
> me that Branch.rename_one should only be an operation on the inventory
> and not also on the working directory.  Also, this makes things a lot
> harder for tools like ``tailor'', which actually does the rename
> itself.  
> 
> It might be sufficient to just add a flag to rename_one that specifies
> that the rename has already been done.
> 
> ~j

Well, I certainly think it should be possible to do:

mv a b
bzr status
#oops I forgot to tell bzr
bzr mv a b

Right now, the above causes an exception because it can't find the file 
to move.

John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050925/aab8cc47/attachment.pgp 


More information about the bazaar mailing list