Differences between revisions 1 and 2
Revision 1 as of 2013-02-20 05:27:28
Size: 1292
Editor: S01060024a5afff83
Comment:
Revision 2 as of 2013-02-21 01:26:16
Size: 1298
Editor: rcl
Comment:
Deletions are marked like this. Additions are marked like this.
Line 54: Line 54:
Configure your .hgrc to enable the extension by adding following lines: Configure your ''`.hgrc`'' to enable the extension by adding following lines:

Allpaths Extension

Run commands like push on multiple paths.

1. Status

This extension is not distributed with Mercurial.

Author: LudovicChabant

Repository: https://bitbucket.org/ludovicchabant/allpaths

Web page: https://bitbucket.org/ludovicchabant/allpaths

2. Overview

This simple extension lets you execute commands on multiple paths.

For now, this is only the push command:

$ hg pushall

This will push to all paths specified in the [paths] config section.

You can also provide the name of a different section:

$ hg pushall -g publish

This will push to all paths specified in the [publish] config section, which should look like this:

[publish]
bitbucket = ssh://hg@bitbucket.org/ludovicchabant/piecrust
github = git+ssh://git@github.com:ludovicchabant/PieCrust.git
other = ssh://my@own/server
local = /some/other/place

You can also provide standard push options:

$ hg pushall -b branch

3. Configuration

Configure your .hgrc to enable the extension by adding following lines:

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


CategoryExtensionsByOthers

AllPathsExtension (last edited 2013-02-21 01:26:16 by rcl)