Pithy answer to "Why set a public branch?"

Robert Collins robertc at robertcollins.net
Sun Feb 22 00:10:49 GMT 2009


On Sat, 2009-02-21 at 23:54 +0100, Jelmer Vernooij wrote:
> On Sun, 2009-02-22 at 09:43 +1100, Robert Collins wrote:
> > A public branch setting tells bzr where a branch is published. sending a
> > bundle, making email notifications, lp-open - pretty much anything where
> > you want to tell someone else where the branch is uses this.
> > 
> > If its not set explicitly, I think it defaults to the push_location, or
> > perhaps it doesn't but should.
> I don't think the push_location is a good default for the
> public_location. The push_location is usually a bzr+ssh:// or sftp://
> URL, and that's usually not available by the rest of the world. 

I think it depends on the url.
svn:// urls are usually world usable [perhaps requiring auth, but the
same url], as are http://, and lp:. bzr+ssh://host/~/ urls are not world
usable, nor are sftp://host/~/ urls. sftp://host/abspath *may be*.
bzr://host/ probably are.

We can do a lot better than 'never' even if we can't get it right all
the time.

-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/20090222/852bef69/attachment-0001.pgp 


More information about the bazaar mailing list