[RFC] I want to disable submit_branch on my computer for all branches. How can I do that?

vila v.ladeuil+lp at free.fr
Fri May 13 13:01:54 UTC 2011


>>>>> John Arbash Meinel <john at arbash-meinel.com> writes:

    > I *do* have submit_branch configured, but rarely use "-rsubmit:".

/me blinks

That the one I use the most :)

    > The one default setting I use 10 times a day is "push_location". I
    > set up most of my locations to push to the appropriate place on
    > launchpad.  So I don't have to re-type the long branch names all
    > the time.

I use a couple of tricks for that.

In locations.conf:

[/home/vila/src/bzr/bugs]
mypush = lp:~vila/bzr
mypush:policy=appendpath

and 

  bzr push `bzr config mypush`

A 'config:' directory service would help here but I've been too
lazy/relying on muscle memory so far.

I also use the following in branch.conf for looms (with
bzr.config.expand = True in bazaar.conf):

  push_location = bzr+ssh://bazaar.launchpad.net/~vila/bzr/{nickname}

and rely on bzr-loom setting 'nickname' appropriately.

    > And occasionally I really wish "bzr pull :push" would work (:push
    > doesn't expand lp:foo).

Well, it works when not using lp ;)

      Vincent



More information about the bazaar mailing list