Mercurial extension to affect multiple repositories simultaneously.
Project description
Mercurial extension to affect multiple repositories simultaneously. All commands that affect other repositories (push, paths, out and bundle) are wrapped.
Install
If you have installed multirepo.py in your PYTHONPATH, activate the extension in .hgrc:
[extensions] hgext.multirepo=
Otherwise, you will need to specify the full path to the extension:
[extensions] multirepo = path/to/multirepo.py
Usage
Add paths to target to .hgrc in the multirepo section; attributes starting with path. are interpreted as targets for multirepo:
[multirepo] path.abc = /path/to/a/repo path.another = /path/to/another/repo
The default path (or default-push if it is defined) is included in the list of paths to this extension will target unless you set include.default to False:
[multirepo] include.default = False path.abc = /path/to/a/repo path.another = /path/to/another/repo
All wrapped commands affect all targets unless a specific target is given on the command-line.
Colophon
- about:
I first wrote multirepo so that I could push to a backup repo and a public repo in a single operation. Then, I started using the extension at work to manage a series of repos used by the team.
- contributors:
Iain Lowe <iain.lowe@gmail.com>
Faheem Mitha <faheem on #mercurial>
Brendan Cully <brendan on #mercurial>
- copyright:
Copyright (C) 2009-2010 by Iain Lowe <iain.lowe@gmail.com>.
- license:
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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
Built Distribution
File details
Details for the file multirepo-1.0rc2.tar.gz
.
File metadata
- Download URL: multirepo-1.0rc2.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 654552f68c4b21540f92a2ecf404c21e8561cdd05e87f242ca2d3018e5768de5 |
|
MD5 | 43cd7b71af9a9f162dd84fba4ca94c47 |
|
BLAKE2b-256 | a3b363d8c5f68f4ccbb55a337f7451c9e59b97e584c6675470cf7292e8b9b572 |
File details
Details for the file multirepo-1.0rc2-py2.6.egg
.
File metadata
- Download URL: multirepo-1.0rc2-py2.6.egg
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ae135bb9c2e8fc997bf86f2577a86fa34c14723d88e3aef9d91d0694acdd9ed |
|
MD5 | 53ef6223c121f4bbb94f4195a9b7d8b2 |
|
BLAKE2b-256 | b78ee158813caf4f70928945d2ab70c64faacbb0ca7f8442e47dc969b67b3269 |