Differences between revisions 4 and 5
Revision 4 as of 2010-04-15 16:43:17
Size: 1259
Comment:
Revision 5 as of 2010-04-15 18:22:05
Size: 1306
Comment: additional examples
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:
# remote repositories matching this expression will get mirrored # remote repositories matching this expression will get mirrored (for example: ^cws/fwk.*$ or ^cws/cmcfixes.*$)

Branchmirror Extension

This extension is/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>

Download site: 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


CategoryExtension CategoryExtensionsByOthers

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