Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

hgallpaths

A mercurial extension to allow pushing and pulling from all paths specified in the configuration.

Installation

Add hgallpaths extension to your ~/.hgrc:

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

The list of all paths is available from the paths command:

$ hg paths

Alternatively you can install hgallpaths with pip:

$ pip install hgallpaths

or with setuptools:

$ python setup.py install

With either of those methods you don't need to specify the path to hgallpaths in your hgrc configuration:

[extensions]
hgallpaths =

Configuration

You can exclude certain paths in the configuration. For example to always exclude the path foo and bar, as well as exclude baz when pushing you add this to your ~/.hgrc (or repo hgrc):

[hgallpaths]
exclude = foo bar
exclude_push = baz

Usage

The two commands supported at the moment are pushall and pullall. For example to push to all paths run:

$ hg pushall

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.