Mercurial > hg-allpaths
diff README @ 0:6f92e4c814d1
Initial commit.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 19 Feb 2013 17:29:34 -0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README Tue Feb 19 17:29:34 2013 -0800 @@ -0,0 +1,28 @@ + +allpaths extension +================== + +This simple extension lets you execute commands on multiple paths. + +For now, this is only the `push` command: + + $ hg pushall + +This will push to all paths specified in the `[paths]` config section. + +You can also provide the name of a different section: + + $ hg pushall -g publish + +This will push 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 + +You can also provide standard `push` options: + + $ hg pushall -b branch +