[RFC] mv tweaks

Spencer Chastain sechastain at gmail.com
Tue Jan 29 02:57:03 GMT 2008


Right ... and here's the attachment.

On Jan 28, 2008 9:56 PM, Spencer Chastain <sechastain at gmail.com> wrote:

>
> I've attached a patch of changes I've made to the mv command.
>
> The gist is when you try to move multiple files into a directory, all
> moves are attempted, dups are ignored, errors are cached, and a full report
> is printed at the end of what succeeded and what failed.  So given a tree:
>
> branch
> - foo
> - bar
> - baz
> - boo
> - sub/
>
> where  baz has not been added to tree, running: bzr mv b* f* sub
>
> $ bzr mv b* f* sub/
> Moved:
>         bar => sub/bar
>         baz => sub/baz
>         boo => sub/boo
>         foo => sub/foo
> Could not move:
>         baz : baz is not versioned.
> bzr: ERROR: Not moved: [u'baz']
>
> There's a couple of things I know I need to do before I submit it for
> merge:
> - update the NEWS.  And I'm guessing I just document this as a change
> under the changes section?
> - this would fix the bug I opened last month in launchpad - so how would I
> relate that either in my branch and/or during merge request?  I think this
> one is documented somewhere, I just can't remember where I read up on it a
> while ago.
>
> Anyhow, feedback would be appreciated.
>
> Thanks,
>
> --Spencer
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20080128/3ac8b638/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr_mv.patch
Type: text/x-patch
Size: 13607 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080128/3ac8b638/attachment-0001.bin 


More information about the bazaar mailing list