equivalent of "git remote"?

Martin Pool mbp at sourcefrog.net
Mon Mar 26 09:45:15 BST 2007

On 3/26/07, Matthieu Moy <Matthieu.Moy at imag.fr> wrote:
> Hi,
> What's the best way in bzr to manage several remote locations for a
> branch/repository ?

> bzr can remember a push and a pull location, but if I have several of
> them, it can become quite painfull. For example, I may have a private
> repository to which I often push, and a sourceforge account to which I
> push less frequently.
> Then, I'd like to be able to say
> $ bzr push private
> $ bzr push sourceforge
> where "private" and "sourceforge" would be defined once only.

At the moment I think you just have to retype them, or use some
external mechanism like environment variables.  There has been some
discussion recently of built-in aliases for locations.

This  touches on a couple of other desirable things:

 * pushing or pulling all my branches (like in arch), eg before going offline

 * pushing branches to multiple locations

 * pushing several branches with one command (maybe by allowing named
branches within a bzrdir... (that might be controversial...))


More information about the bazaar mailing list