Branchmirror Extension

This extension is not distributed with Mercurial. This extension is not a polished product yet and subject to change, so the configuration of it might change.

Author: <b_michaelsen AT SPAMFREE openoffice DOT org>

Source code: branchmirror

Overview

This extension creates a local mirror of a set of branched repositories.

Configuration

Configure the hgrc of a repository to enable the extension by adding following lines:

[extensions]
hgext.branchmirror=/path/to/branchmirror

[branchmirror]
#baseurl of the remote hosting site
remoteurl=http://hg.services.openoffice.org

# the reference repository from which all the feature branches originate
master=DEV300

# a sourceurl from which to initialize the master repository
initsource=bundle:///path/to/DEV300.hg

# remote repositories matching this expression will get mirrored (for example: ^cws/fwk.*$ or ^cws/cmcfixes.*$)
branchpattern=^cws/.*$

# remote repositories matching this expression will not get mirrored, even if matching the branchpattern above.
branchignorepattern=^cws/avmedia101$

see also

hg help branchmirror-init
hg help branchmirror-update


CategoryExtensionsByOthers

BranchmirrorExtension (last edited 2012-02-07 10:10:26 by weakish)