Refactoring of Branch.rename_one

Johan Rydberg jrydberg at gnu.org
Sun Sep 25 16:18:03 BST 2005


John A Meinel <john at arbash-meinel.com> writes:

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

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

Absolutely.

~j





More information about the bazaar mailing list