How to setup public location?

Martin Pool mbp at canonical.com
Fri Jan 29 15:42:05 GMT 2010


2010/1/29 Gordon Tyler <gordon at doxxx.net>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 1/29/2010 10:10 AM, Martin Pool wrote:
>> [/home/mbp/tribunal]
>> push_location = bzr+ssh://bazaar.launchpad.net/~mbp/tribunal
>> push_location:policy = appendpath
>> public_location = lp:~mbp/tribunal
>> public_location:policy = appendpath
>
> What does the :policy line do?

It takes the last component of my local branch location and appends it
to the path defined in the previous line:  ~/tribunal/foo ->
lp:~mbp/tribunal/foo

Nice, but we could do better.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list