Bug or Feature?

Eric Siegerman lists08-bzr at davor.org
Tue Feb 15 15:48:20 UTC 2011


On Tue, 2011-02-15 at 09:17 -0600, John Arbash Meinel wrote:
> One thing you can try is to change it to a url, so do:
>
> bzr mv file:///<pwd>/2010-11__2010-12-17%3A17%3A06%2B00%3A00.jpg
> 2010-11__201012171706.jpg

I tried a few variants of that, but none of them worked
(/tmp/bt2 is a test standalone branch):
    $ bzr mv file:///tmp/bt2/foo%3abar foo-bar
    bzr: ERROR: Could not rename foo%3abar => foo-bar: file:/tmp/bt2/foo
%3abar is not versioned.

    $ bzr mv file://localhost/tmp/bt2/foo%3abar foo-bar
    bzr: ERROR: Could not rename foo%3abar => foo-bar:
file:/localhost/tmp/bt2/foo%3abar is not versioned.

    $ bzr mv file://localhost//tmp/bt2/foo%3abar foo-bar
    bzr: ERROR: Path "/tmp/bt2/file:/localhost/tmp/bt2/foo%3abar" is not
a child of path "//tmp/bt2"

If I typed the ":" directly instead of escaping it as "%3a", I
got the corresponding error message in each case.

This did work, however:
    $ mv foo:bar foo-bar
    $ bzr mv --auto
    foo:bar => foo-bar
    $ bzr ci '-mmoved'
    Committing to: /tmp/bt2/
    renamed foo:bar => foo-bar
    Committed revision 2.

  - Eric





More information about the bazaar mailing list