Multirepo Extension

This extension is not being distributed along with Mercurial.

Author: Iain Lowe

Repository: https://bitbucket.org/ilowe/multirepo/

Overview

Multirepo is a Mercurial extension that allows affecting multiple repositories simultaneously. All commands that affect other repositories (push, paths, out and bundle) are wrapped.

Install

If multirepo.py has been installed in your PYTHONPATH, activate the extension in .hgrc:

[extensions]
hgext.multirepo=

Otherwise, the full path to the extension will need to be specified:

[extensions]
multirepo = path/to/multirepo.py

Usage

Add paths to target to .hgrc in the multirepo section; attributes starting with path. are interpreted as targets for multirepo:

[multirepo]
path.abc = /path/to/a/repo
path.another = /path/to/another/repo

The default path (or default-push if it is defined) is included in the list of paths to this extension will target unless you set include.default to False:

[multirepo]
include.default = False
path.abc = /path/to/a/repo
path.another = /path/to/another/repo

All wrapped commands affect all targets unless a specific target is given on the command-line.


CategoryExtensionsByOthers

MultirepoExtension (last edited 2011-06-04 21:54:06 by rcl)