Mercurial > hg > orthanc-book
comparison Sphinx/source/developers/repositories.rst @ 362:022d59428ea3
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 31 Mar 2020 15:13:35 +0200 |
parents | 84e3a2612c36 |
children | 12f88a12d146 |
comparison
equal
deleted
inserted
replaced
361:84e3a2612c36 | 362:022d59428ea3 |
---|---|
68 .. highlight:: bash | 68 .. highlight:: bash |
69 | 69 |
70 Locally cloning one of those Mercurial repositories (say, the main | 70 Locally cloning one of those Mercurial repositories (say, the main |
71 ``orthanc`` repository) is as simple as typing:: | 71 ``orthanc`` repository) is as simple as typing:: |
72 | 72 |
73 $ hg clone https://hg.orthanc-server.com/orthanc | 73 $ hg clone https://hg.orthanc-server.com/orthanc/ |
74 | 74 |
75 You can then use separate tools such as `TortoiseHg | 75 You can then use separate tools such as `TortoiseHg |
76 <https://en.wikipedia.org/wiki/TortoiseHg>`__ to browse the code with | 76 <https://en.wikipedia.org/wiki/TortoiseHg>`__ to browse the code with |
77 richer features than the Web interface. | 77 richer features than the Web interface. |
78 | 78 |
110 | 110 |
111 Only the core developers of Orthanc have direct write access to the | 111 Only the core developers of Orthanc have direct write access to the |
112 Orthanc repositories (through SSH). Core developers can clone a | 112 Orthanc repositories (through SSH). Core developers can clone a |
113 repository with write access as follows:: | 113 repository with write access as follows:: |
114 | 114 |
115 $ hg clone ssh://hg@hg.orthanc-server.com/public/orthanc | 115 $ hg clone ssh://hg@hg.orthanc-server.com/public/orthanc/ |
116 | 116 |
117 | 117 |
118 .. _hg-contributing: | 118 .. _hg-contributing: |
119 | 119 |
120 Submitting code | 120 Submitting code |
215 | 215 |
216 The core developers would reintegrate such a bundle into the mainline | 216 The core developers would reintegrate such a bundle into the mainline |
217 by typing the following commands on their side:: | 217 by typing the following commands on their side:: |
218 | 218 |
219 $ cd /tmp | 219 $ cd /tmp |
220 $ hg clone https://hg.orthanc-server.com/orthanc | 220 $ hg clone https://hg.orthanc-server.com/orthanc/ |
221 $ cd /tmp/orthanc | 221 $ cd /tmp/orthanc |
222 $ hg unbundle /tmp/contribution.bundle | 222 $ hg unbundle /tmp/contribution.bundle |
223 $ hg up -c default | 223 $ hg up -c default |
224 $ hg merge my-user/my-fix | 224 $ hg merge my-user/my-fix |
225 | 225 |