Skip to main content

A mercurial extension to allow pushing and pulling from all paths.

Project description

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

Project details


Release history Release notifications

This version
History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
hgallpaths-0.1.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None Aug 3, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page