Mercurial allpaths extension
Project description
Push or pull to many (or all) paths at once.
1 Usage
Simple:
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:
[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
All standard push and pull options can be used:
hg pushall -b branch
or:
hg pullall --force
etc.
Finally, there are:
hg incomingall
and
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:
[extensions] 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 https://bitbucket.org/Mekk/mercurial-all_paths/
either:
pip install --user -e mercurial-all_paths
and activate as above, or just activate by full path:
[extensions] mercurial_path_pattern = ~/sources/mercurial-path_pattern/mercurial_path_pattern.py
To upgrade, pull and update.
3 History
See HISTORY.txt
4 Development, bug reports, enhancement suggestions
At the moment this extension is forked. Version by Marcin Kasperski is maintained at
while original version by Ludovic Chabant is available at
5 Additional notes
Information about this extension is also available on Mercurial Wiki: http://mercurial.selenic.com/wiki/AllPathsExtension
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mercurial_all_paths-0.6.1.tar.gz
.
File metadata
- Download URL: mercurial_all_paths-0.6.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d565beb529b4eb9a86e828080a026a333e4a10ad885da11c5f831be6b8bef453
|
|
MD5 |
255c6cb9b15695273529af61d37310ea
|
|
BLAKE2b-256 |
ff4cc69b9a07c385840d62413e6c3494c32499d059c61c7093a4741748614805
|