streaming push alpha-testing

Robert Collins robert.collins at canonical.com
Mon Feb 23 01:04:02 GMT 2009


Andrew and I have landed a bunch of work over the last week to do
streaming push. We'd love to get some feedback before we freeze for
release - at the moment the protocol isn't frozen in stone, but once its
in a release its hard[er] to change.

How to test:

 * get a copy of bzr.dev on your server
 * with a matching copy on your client
 * build both ('make' is sufficient)
 * push to a bzr url using bzr.dev on both ends. If your server is
   a bzr+ssh server, you need to specify BZR_REMOTE_PATH. For instance:
   BZR_REMOTE_PATH=/home/rob/local/bin/bzr ~/source/bzr.dev/bzr push
   bzr+ssh://host/tmp/demo

I think we really are most concerned about unexpected regressions with
this code. I know of one possible regression with stacked branches and
bzr.dev which jml reported, but if there are others I would be
surprised. 

For me, pushing up a small (1 commit) branch stacked on bzr.dev I see a
modest improvement:

bzr.dev:
Source format does not support stacking, using format: '1.6'
  Packs 5 (adds stacking support, requires bzr 1.6)

Created new stacked branch referring to
http://bazaar-vcs.org/bzr/bzr.dev.

real    1m16.227s
user    0m1.572s
sys     0m0.188s

1.12[ish]:
Source format does not support stacking, using format: '1.6'
  Packs 5 (adds stacking support, requires bzr 1.6)

Created new stacked branch referring to
http://bazaar-vcs.org/bzr/bzr.dev.                                                                                                                                         

real    2m11.109s
user    0m2.676s
sys     0m0.212s

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090223/22d7fc4a/attachment.pgp 


More information about the bazaar mailing list