Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pelletier/hg_publishall
Publish to all your set repositories. (mirror)
https://github.com/pelletier/hg_publishall
Last synced: about 1 month ago
JSON representation
Publish to all your set repositories. (mirror)
- Host: GitHub
- URL: https://github.com/pelletier/hg_publishall
- Owner: pelletier
- License: mit
- Created: 2010-04-08T12:00:03.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-10-29T18:04:41.000Z (about 13 years ago)
- Last Synced: 2024-10-13T14:17:47.247Z (2 months ago)
- Language: Python
- Homepage: http://bitbucket.org/pelletier/hg-publishall/
- Size: 102 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
Hg-publishall
=============Hg-publishall is a [mercurial](http://mercurial.selenic.com/) extension which
allows you to push simultaneously to multiple repositories, in a single
command.Installation
------------First, clone the repository, let's say in your home directory:
hg clone ssh://[email protected]/pelletier/hg-publishall ~/hg-publishall
Then add the following to your `.hgrc` file in order to activate the extension:
[extensions]
publishall = /Users/thomas/hg-publishall/publishall.pyAnd voilà!
Usage
-----Add as many paths as you want to your repository/.hg/hgrc file, and when you
want to push, use one of the following:hg pushall
hg pushaOptions
-------As of [r10](https://bitbucket.org/pelletier/hg-publishall/changeset/03300c2a1121)
you can now pass `--new-branch` to the command in order to create remote
branches. Here is an example session:hg init base
hg init target1
hg init target2
echo -e "[paths]\ntarget1=../target1\ntarget2=../target2" > base/.hg/hgrc
cd base
touch bar
hg commit -A -m "first commit on default"
hg pushall
hg branch newbranch
touch foo
hg commit -A -m "create a new branch"
hg pushall # This fails
hg pushall --new-branchTips
----* Hg-publish plays great with [hg-git](http://hg-git.github.com/).
Get involved
------------Hg-publishall is licensed under MIT license, so feel free to hack as much as
you wish.The official repository is on
[Bitbucket](http://bitbucket.org/pelletier/hg-publishall/), but a mirror is
available on [GitHub](http://github.com/pelletier/hg_publishall/).Finally, if you find a bug, have a feature request or want to submit a patch,
just fill a ticket on the [issues
tracker](http://bitbucket.org/pelletier/hg-publishall/issues).Contributors
------------In order of appearance,
* Thomas Pelletier
* Rémy Hubscher
* Thomas R.
* Bruno Bord