bzr.rename-move-mv-unification.diff

Paul Sladen ubuntu at paul.sladen.org
Mon Dec 5 12:15:09 GMT 2005


On Mon, 5 Dec 2005, Martin Pool wrote:
> On  5 Nov 2005, Paul Sladen <ubuntu at paul.sladen.org> wrote:
> > +    * 'bzr mv', 'move', 'rename' unified into a single command with the 
> > +      same behavior as Unix mv:
> Here's an update to the new tree; could someone please add tests inside
> bzrlib.test.blackbox.test_rename to make sure it works as intended, 

It passes the existing tests for 'mv/move/rename' as they fall-through to
the new command.  While testing I found a bug with the previous/current
implementation of 'mv' which leaves files in the wrong place if the
destination is a relative directory ('..'), so this is in some ways a
bugfix for that.

What needs updating for the test suite, just shift the three current test
functions into a single location?  Or do  s/^m(v|ove)/rename/  in addition?

	-Paul
-- 
This country is covered in white fluffy snow.  Helsinki, FI





More information about the bazaar mailing list