SCM discussions in the GNOME community

Andrew Cowie andrew at operationaldynamics.com
Tue Sep 11 14:09:01 BST 2007


On Tue, 2007-09-11 at 18:16 +0700, Hendy Irawan wrote:

> I've been having about Bazaar performance locally. But anytime I want to 
> "bzr push sftp://" it's NIGHTMARE.

Yeah. The round trip cost of twice per file is devastating when working
transcontinental with one of the dumb protocols (http://, sftp://) -
both on push and checkout, pull.

So, don't use a dumb server.

Since you've got ssh access to the target server, hopefully you can
install Bazaar there. If you can, switch to pushing by using bzr+ssh://.
This will run the "smart server" on the server side when you push and
use the newer protocols over the wire. It's been improving steadily over
the last 3-4 releases and is enormously better than sftp://.

There is likewise something to be said for running their server program
as a daemon server-side and publishing bzr:// as the URL to your
branches [you can, in theory, arrange http:// to do this transparently
if you've got good mod_python foo, although I haven't succeeded at this
yet myself]

> What I think is that the PR is somewhat misguided

Make sure you use the latest (ie, >= 0.90) version of Bazaar; otherwise
the whole conversation is moot. The developers have been making huge
strides forward and there is little point in not taking advantage of it.
[ie, forget the usual Debian-esque tendency to think that somehow a year
old release is somehow more stable than the latest one]

Finally (and admittedly this is a hard sell from the standpoint of the
massive PR problem Bazaar has), but a lot of their earlier work was
focused on performance and correctness during operations like merging.
This isn't the first impression people get of Bazaar, unfortunately, but
it makes a big difference once you're underway and managing a growing
project. It works, it works right, and it works fast.

AfC
Sydney

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


More information about the bazaar mailing list