Managing multiple remote locations

Lukáš Lalinský lalinsky at gmail.com
Tue Dec 9 09:07:21 GMT 2008


Dňa Po, 2008-12-08 o 07:03 +0000, Russel Winder napísal:
> Marius,
> 
> Any progress on this?

Is this about per branch/location bookmarks? If so, I implemented that
in bzr-bookmarks about a month ago. It can now read/store bookmarks in
~/.bazaar/bazaar.conf, ~/.bazaar/locations.conf
and .bzr/branch/branch.conf

> Currently I am storing a list of URLs in a file called .url and have a
> shell alias pushBranch  that iterates of the entries in the file and
> does a push.  It would however, be far better to have a Bazaar feature.

Not related to the original problem, but... I've found myself writing a
few trivial bzr shell scripts recently. Getting used to "bzr-something"
instead of "bzr something" is not that easy though, so I wrote a bzr
plugin (bzr-extcommand) to manage the scripts for me. For example in
your case you could write:

[EXTERNAL_ALIASES]
multi-push = for URL in `cat .url`; do bzr push $URL; done

and then simply use "bzr multi-push".

Lukas





More information about the bazaar mailing list