Bug or Feature?

Russel Winder russel at russel.org.uk
Tue Feb 15 18:14:11 UTC 2011


On Tue, 2011-02-15 at 10:48 -0500, Eric Siegerman wrote:
> 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.

Thanks for giving them a try.  I'm afraid my situation was one of "it
has to be sorted in the next 3 mins" so there was no time for a play.  I
guess I should revert in a branch of the branch and try some things. 

> This did work, however:
>     $ mv foo:bar foo-bar
>     $ bzr mv --auto
>     foo:bar => foo-bar

OK, this one is new to me.

I just did the mv in the shell and then add.  Ruins the history, but
suffices since the situation is us using Bazaar to provide a shared
filestore not a project version control system.

>     $ bzr ci '-mmoved'
>     Committing to: /tmp/bt2/
>     renamed foo:bar => foo-bar
>     Committed revision 2.

Whilst talking of Bazaar purposes, Bazaar Explorer assumes that any
Bazaar branch is a project version control entity that is likely
publishable on Launchpad.  Given that we are using Bazaar as a private
and confidential shared filestore, it would be good to get rid of the
buttons about "publishing to Launchpad".  Is there a way of doing this?


-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at russel.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110215/d30f8c46/attachment.pgp>


More information about the bazaar mailing list