Skip to main content

Mercurial allpaths extension

Project description

Push or pull to many (or all) paths at once.

1 Usage


hg pushall

pushes to all paths defined for the repository (all paths returned by hg paths - usually defined in .hg/hgrc, but Path Pattern paths are also handled).

There is also corresponding:

hg pullall

Instead of using standard paths, you can define and use groups:

hg pushall -g publish

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

bitbucket = ssh://
github = git+ssh://
other = ssh://my@own/server
local = /some/other/place

All standard push and pull options can be used:

hg pushall -b branch


hg pullall --force


Finally, there are:

hg incomingall


hg outgoingall

which simply iterate over all paths.

2 Installation

2.1 From PyPi

If you have working pip or easy_install:

pip install --user mercurial_all_paths

or maybe:

sudo pip install mercurial_all_paths

Then activate by:

mercurial_all_paths =

To upgrade, repeat the same command with --upgrade option, for example:

pip install --user --upgrade mercurial_all_paths

2.2 From source

Clone this repository:

cd ~/sources
hg clone


pip install --user -e mercurial-all_paths

and activate as above, or just activate by full path:

mercurial_path_pattern = ~/sources/mercurial-path_pattern/

To upgrade, pull and update.

3 History


4 Development

Main extension repository, maintained by Ludovic Chabant, is available at:

Fork by Marcin Kasperski, which is usually in sync, but at times may contain some not-yet merged changes, is available at:

5 Additional notes

Information about this extension is also available on Mercurial Wiki:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mercurial_all_paths-0.6.2.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page