Push location hiding

John Arbash Meinel john at arbash-meinel.com
Wed Jun 18 16:46:37 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

One thing which is a bit annoying currently is a conflict between
setting a default push location in ~/.bazaar/locations.conf and having
an explicit location for a given directory.

Specifically, I tend to work on a lot of branches in different
directories, so defaulting a push to my server is very nice. I do that with:

[/home/jameinel/dev/bzr]
push_location = bzr+ssh://server/srv/bzr/public/repo/
push_location:policy = append_path

Which works very well when I create a new branch, and want to publish it.

However, sometimes I want to have that branch mirrored onto launchpad
rather than my repository.

So I can do:

bzr push --remember lp:~jameinel/bzr/my-branch

Everything thinks it is okay. However the push location is saved to
.bzr/branch/branch.conf. And 'locations.conf' overrides branch.conf,
even though one is achieved recursively, and the other is explicitly for
that branch.

I don't have any way to force the remember, other than manually hacking
locations.conf for that branch.

Is there something better that we could be doing? Some way that we could
get --remember to actually --remember? (Certainly we should probably at
least be warning if we don't)

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhZLdwACgkQJdeBCYSNAAPvfwCeKGBHipSZrJArKXYgGU+Hh9k0
1TQAn1aEzU7BcMT9Hzc4qo+DBUo/j50N
=xLor
-----END PGP SIGNATURE-----



More information about the bazaar mailing list