Differences between revisions 1 and 8 (spanning 7 versions)
Revision 1 as of 2010-04-15 16:30:45
Size: 1057
Comment:
Revision 8 as of 2011-04-02 00:18:42
Size: 1290
Editor: GregWard
Comment:
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 6: Line 6:
Download site: currently none Source code: [[attachment:branchmirror]]
Line 16: Line 16:
hgext.branchmirror=/path/to/extension hgext.branchmirror=/path/to/branchmirror
Line 22: Line 23:
master=DEV300) master=DEV300
Line 27: Line 28:
# 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 34:
see also

{{{
hg help branchmirror-init
hg help branchmirror-update
}}}
Line 34: Line 42:
CategoryExtension CategoryExtensionsByOthers CategoryExtensionsByOthers

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>

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)