Mercurial > evolve
comparison docs/sharing.rst @ 2865:b0b8cc3064b0
doc: let mercurial find where evolve is installed
author | Philippe Pepiot <phil@philpep.org> |
---|---|
date | Tue, 29 Aug 2017 14:19:31 +0200 |
parents | 3e3a276c9e91 |
children | 0afd41ac31d2 |
comparison
equal
deleted
inserted
replaced
2864:4be11d7b13fa | 2865:b0b8cc3064b0 |
---|---|
100 | 100 |
101 [phases] | 101 [phases] |
102 publish = false | 102 publish = false |
103 | 103 |
104 [extensions] | 104 [extensions] |
105 evolve = /path/to/evolve-main/hgext3rd/evolve/ | 105 evolve = |
106 | 106 |
107 Then edit the configuration for ``dev-repo``:: | 107 Then edit the configuration for ``dev-repo``:: |
108 | 108 |
109 $ hg -R dev-repo config --edit --local | 109 $ hg -R dev-repo config --edit --local |
110 | 110 |
111 and add :: | 111 and add :: |
112 | 112 |
113 [extensions] | 113 [extensions] |
114 evolve = /path/to/evolve-main/hgext3rd/evolve/ | 114 evolve = |
115 | 115 |
116 Keep in mind that in real life, these repositories would probably be | 116 Keep in mind that in real life, these repositories would probably be |
117 on separate computers, so you'd have to login to each one to configure | 117 on separate computers, so you'd have to login to each one to configure |
118 each repository. | 118 each repository. |
119 | 119 |
329 $ hg -R alice config --edit --local | 329 $ hg -R alice config --edit --local |
330 | 330 |
331 and add :: | 331 and add :: |
332 | 332 |
333 [extensions] | 333 [extensions] |
334 evolve = /path/to/evolve-main/hgext3rd/evolve/ | 334 evolve = |
335 | 335 |
336 Then edit Bob's repository configuration:: | 336 Then edit Bob's repository configuration:: |
337 | 337 |
338 $ hg -R bob config --edit --local | 338 $ hg -R bob config --edit --local |
339 | 339 |
543 | 543 |
544 and add :: | 544 and add :: |
545 | 545 |
546 [extensions] | 546 [extensions] |
547 rebase = | 547 rebase = |
548 evolve = /path/to/evolve-main/hgext3rd/evolve/ | 548 evolve = |
549 | 549 |
550 [phases] | 550 [phases] |
551 publish = false | 551 publish = false |
552 | 552 |
553 Then edit Bob's repository configuration:: | 553 Then edit Bob's repository configuration:: |