bzr+ssh working in Launchpad?

Tim Penhey tim at canonical.com
Wed Sep 12 04:35:54 BST 2007


On Wednesday 12 September 2007 15:09:40 Hendy Irawan wrote:
> Martin Pool wrote:
> > On 9/12/07, Hendy Irawan <hendy at rainbowpurple.com> wrote:
> >   
> >> I don't get it... The tutorials always use sftp://, although bzr+ssh
> >> seems available.
> >>
> >> Isn't bzh+ssh [much?] faster than sftp?
> >>
> >> $ bzr version-info
> >> bzr+ssh://ceefour@bazaar.launchpad.net/~ceefour/bukuruby/web
> >> revision-id: hendy at rainbowpurple.com-20070911213107-rgnfs217kiojsfo2
> >> date: 2007-09-12 04:31:07 +0700
> >> build-date: 2007-09-12 06:47:44 +0700
> >> revno: 36
> >> branch-nick: web
> >>     
> >
> > Hi,
> >
> > bzr+ssh is supported for Launchpad.  It's good to hear that it's
> > faster for you than sftp; it should become much faster again when
> > Andrew's streaming support lands, which should be in 0.92/October.  I
> > believe that Tim is going to change the Launchpad ui to advertise
> > bzr+ssh urls in the next Launchpad update.  Which tutorial are you
> > looking at that uses sftp?
> >   
> Thanks Martin.
> 
> ceefour at ojalanow:/go/project/bukuruby/simple$ bzr ci -m 'save'
> modified Instalasi Rails.textile.txt
> Committed revision 10.
> ceefour at ojalanow:/go/project/bukuruby/simple$ bzr push 
> bzr+ssh://ceefour@bazaar.launchpad.net/~ruby-id/bukuruby/simple --remember
> Value 
> "bzr+ssh://ceefour@bazaar.launchpad.net/%7Eruby-id/bukuruby/simple/" is 
> masked by 
> "sftp://ceefour@bazaar.launchpad.net/%7Eruby-id/bukuruby/simple/" from 
> locations.conf
> Pushed up to revision 10.
> ceefour at ojalanow:/go/project/bukuruby/simple$ cd ..
> ceefour at ojalanow:/go/project/bukuruby$ time bzr branch 
> bzr+ssh://ceefour@bazaar.launchpad.net/~ruby-id/bukuruby/simple 
> simple_withssh
> Copying repository content as tarball...
> Branched 10 revision(s).
> 
> real    0m43.699s
> user    0m0.696s
> sys     0m0.180s
> ceefour at ojalanow:/go/project/bukuruby$ du -sc simple_withssh/
> 160     simple_withssh/
> 160     total
> 
> 43 seconds to branch 160 KB of source, not really that fast :-(
> 
> However I tried to branch using bzr+ssh on a larger repository, and it 
> failed due to something "not support". Probably the bzr version used by 
> Launchpad is ancient??
> 
> I'm trying it again as I forgot to copy&paste the error message.
> 
> In the mean time, would somebody test doing this, it should cause an 
> error: (using bzr 0.90, it did error on my machine)
> 
> time bzr branch 
> bzr+ssh://your_user_name@bazaar.launchpad.net/~ruby-id/bukuruby/trunk

Please don't.

time bzr branch http://bazaar.launchpad.net/~ruby-id/bukuruby/trunk

Please only use bzr+ssh for uploading at this stage.

Tim



More information about the bazaar mailing list