Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2010-04-15 16:33:10
Size: 1070
Comment: initial upload
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 2: Line 2:
'''This extension is/is not distributed with Mercurial.''' '''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.'''
Line 16: Line 16:
hgext.branchmirror=/path/to/extension hgext.branchmirror=/path/to/branchmirror
Line 22: Line 22:
master=DEV300) master=DEV300
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.*$)
Line 33: Line 33:
see also

{{{
hg help branchmirror-init
hg help branchmirror-update
}}}

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)