Mercurial > hg-allpaths
annotate README.txt @ 40:1c22cd2904eb
Groups tests?
author | Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl> |
---|---|
date | Sat, 24 Sep 2016 22:46:21 +0200 |
parents | c27e23a3509c |
children | b8a7342fbf23 |
rev | line source |
---|---|
4
7591d4101b93
Added preliminary setup.py
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
3
diff
changeset
|
1 .. -*- mode: rst; compile-command: "rst2html README.txt README.html" -*- |
0 | 2 |
10
62880e909417
README updates after changes
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
5
diff
changeset
|
3 ================================================ |
13
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
4 Mercurial All Paths extension |
10
62880e909417
README updates after changes
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
5
diff
changeset
|
5 ================================================ |
0 | 6 |
13
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
7 Push or pull to many (or all) paths at once. |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
8 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
9 .. contents:: |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
10 :local: |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
11 :depth: 2 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
12 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
13 .. sectnum:: |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
14 |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
15 Basic usage |
13
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
16 ================================================ |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
17 |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
18 Execute:: |
10
62880e909417
README updates after changes
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
5
diff
changeset
|
19 |
62880e909417
README updates after changes
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
5
diff
changeset
|
20 hg pushall |
0 | 21 |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
22 to push to all remotes which are defined for the repository. Or:: |
10
62880e909417
README updates after changes
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
5
diff
changeset
|
23 |
62880e909417
README updates after changes
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
5
diff
changeset
|
24 hg pullall |
0 | 25 |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
26 to pull from all remotes in order. |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
27 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
28 There are also:: |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
29 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
30 hg incomingall |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
31 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
32 hg outgoingall |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
33 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
34 Standard push/pull options can be given, for example:: |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
35 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
36 hg pushall -f -B issue-13724 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
37 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
38 hg pullall -r stable --insecure |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
39 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
40 Those commands iterate over all paths returned by ``hg paths``. This |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
41 usually means iterating over paths defined in ``[paths]`` section of |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
42 ``.hg/hgrc``, but `Path Pattern`_ paths are also handled. You can |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
43 impact this behaviour by configuration, see below. |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
44 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
45 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
46 Defining path groups |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
47 ================================================ |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
48 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
49 Instead of pushing/pulling everywhere, you can define and use *groups*:: |
0 | 50 |
10
62880e909417
README updates after changes
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
5
diff
changeset
|
51 hg pushall -g publish |
0 | 52 |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
53 pushes to all paths from the ``publish`` group (where ``publish`` is |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
54 symbolic name of your choosing). |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
55 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
56 There are two ways to define such a group: |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
57 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
58 1. Define appropriate entry in ``[all_paths]`` section (either in ``.hg/hgrc`` |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
59 or in your global ``~/.hgrc``). For example:: |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
60 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
61 [all_paths] |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
62 group.publish = bitbucket github backup |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
63 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
64 (path aliases ``bitbucket``, ``github`` and ``backup`` must |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
65 be somehow defined). |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
66 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
67 2. (Legacy method) Put the section of the same name in ``.hg/hgrc``, |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
68 and define all paths there. For example:: |
0 | 69 |
70 [publish] | |
71 bitbucket = ssh://hg@bitbucket.org/ludovicchabant/piecrust | |
72 github = git+ssh://git@github.com:ludovicchabant/PieCrust.git | |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
73 backup = ssh://ludo@backup.local/piecrust |
0 | 74 |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
75 The syntax is the same as in standard ``[paths]`` section, just |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
76 name the section with the name of your group. |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
77 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
78 .. note:: |
10
62880e909417
README updates after changes
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
5
diff
changeset
|
79 |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
80 Be careful to avoid conflicts with names which mean something |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
81 to Mercurial. For example ``web`` would be a bad name as ``[web]`` |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
82 section configures ``hg serve`` behaviour, and ``ui`` would be |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
83 fatal as ``[ui]`` configures various basic Mercurial settings. |
0 | 84 |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
85 I recommend the former method as it avoids the risk of conflicts, |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
86 makes it easy to define groups globally instead of defining them for |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
87 every repository (especially handy if you use `Path Pattern`_), and is |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
88 more compact. |
0 | 89 |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
90 Configuration |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
91 ======================================================= |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
92 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
93 The extension can be configured using ``[all_paths]`` section of your |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
94 global (``~/.hgrc``) or repository-level (``.hg/hgrc``) config file:: |
10
62880e909417
README updates after changes
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
5
diff
changeset
|
95 |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
96 [all_paths] |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
97 prioritize = platon department |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
98 ignore = bitbucket production |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
99 group.publish = github bitbucket |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
100 group.backup = homebackup awsbackup |
10
62880e909417
README updates after changes
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
5
diff
changeset
|
101 |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
102 ``prioritize`` impacts the order, defines paths which are to be |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
103 handled first (if present). This is mostly useful for ``pullall`` |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
104 where pulling from local fast computer before pulling from BitBucket |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
105 server means saving some time and traffic. So:: |
13
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
106 |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
107 prioritize = platon department |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
108 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
109 means: if path named ``platon`` is present, handle it first, then |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
110 path named ``department``, only then follow to other paths. |
13
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
111 |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
112 ``ignore`` lists paths which should be ignored, those remotes will |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
113 be skipped. So:: |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
114 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
115 ignore = bitbucket production |
13
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
116 |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
117 means that ``hg pullall`` or ``hg pushall`` should not use |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
118 ``bitbucket`` path (in my case because this is HTTP remote, and I have |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
119 also preferable ``bitssh``configured), and ``production`` path (as |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
120 there I prefer to pull and push only on specific demand). |
13
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
121 |
36
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
122 Both those settings impact only *default* commands (those run |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
123 without ``-g GROUP`` option). In case of groups items are processed |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
124 in the order they are specified in group definition. |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
125 |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
126 ``group.«NAME»`` define group for ``-g «NAME»`` as described earlier. |
c27e23a3509c
Initial work on configuration
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
30
diff
changeset
|
127 |
13
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
128 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
129 Installation |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
130 ======================================================= |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
131 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
132 From PyPi |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
133 -------------------- |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
134 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
135 If you have working ``pip`` or ``easy_install``:: |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
136 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
137 pip install --user mercurial_all_paths |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
138 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
139 or maybe:: |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
140 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
141 sudo pip install mercurial_all_paths |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
142 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
143 Then activate by:: |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
144 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
145 [extensions] |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
146 mercurial_all_paths = |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
147 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
148 To upgrade, repeat the same command with ``--upgrade`` option, for |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
149 example:: |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
150 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
151 pip install --user --upgrade mercurial_all_paths |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
152 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
153 From source |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
154 ------------------------------------------------------- |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
155 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
156 Clone this repository:: |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
157 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
158 cd ~/sources |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
159 hg clone https://bitbucket.org/Mekk/mercurial-all_paths/ |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
160 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
161 either:: |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
162 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
163 pip install --user -e mercurial-all_paths |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
164 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
165 and activate as above, or just activate by full path:: |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
166 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
167 [extensions] |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
168 mercurial_path_pattern = ~/sources/mercurial-path_pattern/mercurial_path_pattern.py |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
169 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
170 To upgrade, pull and update. |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
171 |
16 | 172 History |
173 ======================================================= | |
174 | |
175 See `HISTORY.txt`_ | |
176 | |
30
3f8c4b4a5cc6
README fixes after upstream merge (up-to-date info about two repos and
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
29
diff
changeset
|
177 Development |
13
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
178 ======================================================= |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
179 |
30
3f8c4b4a5cc6
README fixes after upstream merge (up-to-date info about two repos and
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
29
diff
changeset
|
180 Main extension repository, maintained by Ludovic Chabant, is available |
3f8c4b4a5cc6
README fixes after upstream merge (up-to-date info about two repos and
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
29
diff
changeset
|
181 at: |
3f8c4b4a5cc6
README fixes after upstream merge (up-to-date info about two repos and
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
29
diff
changeset
|
182 |
3f8c4b4a5cc6
README fixes after upstream merge (up-to-date info about two repos and
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
29
diff
changeset
|
183 https://bitbucket.org/ludovicchabant/allpaths |
3f8c4b4a5cc6
README fixes after upstream merge (up-to-date info about two repos and
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
29
diff
changeset
|
184 |
3f8c4b4a5cc6
README fixes after upstream merge (up-to-date info about two repos and
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
29
diff
changeset
|
185 Fork by Marcin Kasperski, which is usually in sync, but at times may |
3f8c4b4a5cc6
README fixes after upstream merge (up-to-date info about two repos and
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
29
diff
changeset
|
186 contain some not-yet merged changes, is available at: |
13
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
187 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
188 http://bitbucket.org/Mekk/mercurial-all_paths/ |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
189 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
190 Additional notes |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
191 ======================================================= |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
192 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
193 Information about this extension is also available |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
194 on Mercurial Wiki: http://mercurial.selenic.com/wiki/AllPathsExtension |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
195 |
8cca585b11cc
Module renamed to mercurial_all_paths for possible pypi installation.
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
10
diff
changeset
|
196 |
22
7bfb45910b19
Two more readme fixes
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
18
diff
changeset
|
197 .. _Path Pattern: https://bitbucket.org/Mekk/mercurial-path_pattern/ |
7bfb45910b19
Two more readme fixes
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
18
diff
changeset
|
198 .. _HISTORY.txt: http://bitbucket.org/Mekk/mercurial-all_paths/src/tip/HISTORY.txt |