comparison README.txt @ 10:62880e909417

README updates after changes
author Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
date Sun, 08 Nov 2015 08:58:40 +0100
parents 0c3ddf5c1a3f
children 8cca585b11cc
comparison
equal deleted inserted replaced
9:dac7580bfff2 10:62880e909417
1 .. -*- mode: rst; compile-command: "rst2html README.txt README.html" -*- 1 .. -*- mode: rst; compile-command: "rst2html README.txt README.html" -*-
2 2
3 ================================================
3 allpaths extension 4 allpaths extension
4 ================== 5 ================================================
5 6
6 This simple extension lets you execute commands on multiple paths. 7 Push or pull to many (or all) paths at once::
7 8
8 For now, this is only the ``push`` command:: 9 hg pushall
9 10
10 $ hg pushall 11 (pushes to all paths defined in the ``[paths]`` config section)::
11 12
12 This will push to all paths specified in the ``[paths]`` config section. 13 hg pullall
14
15 (pulls from all those paths)::
16
17 hg incomingall
18 hg outgoingall
13 19
14 You can also provide the name of a different section:: 20 You can also provide the name of a different section::
15 21
16 $ hg pushall -g publish 22 hg pushall -g publish
17 23
18 This will push to all paths specified in the ``[publish]`` config 24 This will push to all paths specified in the ``[publish]`` config
19 section, which should look like this:: 25 section, which should look like this::
20 26
21 [publish] 27 [publish]
22 bitbucket = ssh://hg@bitbucket.org/ludovicchabant/piecrust 28 bitbucket = ssh://hg@bitbucket.org/ludovicchabant/piecrust
23 github = git+ssh://git@github.com:ludovicchabant/PieCrust.git 29 github = git+ssh://git@github.com:ludovicchabant/PieCrust.git
24 other = ssh://my@own/server 30 other = ssh://my@own/server
25 local = /some/other/place 31 local = /some/other/place
26 32
27 You can also provide standard ``push`` options:: 33 You can also provide standard options::
28 34
29 $ hg pushall -b branch 35 hg pushall -b branch
30 36
37 or::
38
39 hg pullall --force
40
41 etc.
42