Mercurial > hg
comparison hgext/convert/__init__.py @ 12778:dce09f82f619
help: different section separators
Changes the characters used as section separators, so different ones
are used for module docstring and command docstring.
This is done because the section from the docstring will be at
different levels in the restructured text output, therefore
different symbols have to be used.
author | Erik Zielke <ez@aragost.com> |
---|---|
date | Tue, 19 Oct 2010 13:39:34 +0200 |
parents | d346089095ac |
children | 58f0c60b7f40 |
comparison
equal
deleted
inserted
replaced
12777:a19db59e1de4 | 12778:dce09f82f619 |
---|---|
134 is the destination repository. No whitespace is allowed in the | 134 is the destination repository. No whitespace is allowed in the |
135 branch names. This can be used to (for instance) move code in one | 135 branch names. This can be used to (for instance) move code in one |
136 repository from "default" to a named branch. | 136 repository from "default" to a named branch. |
137 | 137 |
138 Mercurial Source | 138 Mercurial Source |
139 ---------------- | 139 '''''''''''''''' |
140 | 140 |
141 --config convert.hg.ignoreerrors=False (boolean) | 141 --config convert.hg.ignoreerrors=False (boolean) |
142 ignore integrity errors when reading. Use it to fix Mercurial | 142 ignore integrity errors when reading. Use it to fix Mercurial |
143 repositories with missing revlogs, by converting from and to | 143 repositories with missing revlogs, by converting from and to |
144 Mercurial. | 144 Mercurial. |
147 change) | 147 change) |
148 --config convert.hg.startrev=0 (hg revision identifier) | 148 --config convert.hg.startrev=0 (hg revision identifier) |
149 convert start revision and its descendants | 149 convert start revision and its descendants |
150 | 150 |
151 CVS Source | 151 CVS Source |
152 ---------- | 152 '''''''''' |
153 | 153 |
154 CVS source will use a sandbox (i.e. a checked-out copy) from CVS | 154 CVS source will use a sandbox (i.e. a checked-out copy) from CVS |
155 to indicate the starting point of what will be converted. Direct | 155 to indicate the starting point of what will be converted. Direct |
156 access to the repository files is not needed, unless of course the | 156 access to the repository files is not needed, unless of course the |
157 repository is :local:. The conversion uses the top level directory | 157 repository is :local:. The conversion uses the top level directory |
195 changeset merging code to be run without doing a conversion. Its | 195 changeset merging code to be run without doing a conversion. Its |
196 parameters and output are similar to that of cvsps 2.1. Please see | 196 parameters and output are similar to that of cvsps 2.1. Please see |
197 the command help for more details. | 197 the command help for more details. |
198 | 198 |
199 Subversion Source | 199 Subversion Source |
200 ----------------- | 200 ''''''''''''''''' |
201 | 201 |
202 Subversion source detects classical trunk/branches/tags layouts. | 202 Subversion source detects classical trunk/branches/tags layouts. |
203 By default, the supplied "svn://repo/path/" source URL is | 203 By default, the supplied "svn://repo/path/" source URL is |
204 converted as a single branch. If "svn://repo/path/trunk" exists it | 204 converted as a single branch. If "svn://repo/path/trunk" exists it |
205 replaces the default branch. If "svn://repo/path/branches" exists, | 205 replaces the default branch. If "svn://repo/path/branches" exists, |
223 | 223 |
224 --config convert.svn.startrev=0 (svn revision number) | 224 --config convert.svn.startrev=0 (svn revision number) |
225 specify start Subversion revision. | 225 specify start Subversion revision. |
226 | 226 |
227 Perforce Source | 227 Perforce Source |
228 --------------- | 228 ''''''''''''''' |
229 | 229 |
230 The Perforce (P4) importer can be given a p4 depot path or a | 230 The Perforce (P4) importer can be given a p4 depot path or a |
231 client specification as source. It will convert all files in the | 231 client specification as source. It will convert all files in the |
232 source to a flat Mercurial repository, ignoring labels, branches | 232 source to a flat Mercurial repository, ignoring labels, branches |
233 and integrations. Note that when a depot path is given you then | 233 and integrations. Note that when a depot path is given you then |
239 | 239 |
240 --config convert.p4.startrev=0 (perforce changelist number) | 240 --config convert.p4.startrev=0 (perforce changelist number) |
241 specify initial Perforce revision. | 241 specify initial Perforce revision. |
242 | 242 |
243 Mercurial Destination | 243 Mercurial Destination |
244 --------------------- | 244 ''''''''''''''''''''' |
245 | 245 |
246 --config convert.hg.clonebranches=False (boolean) | 246 --config convert.hg.clonebranches=False (boolean) |
247 dispatch source branches in separate clones. | 247 dispatch source branches in separate clones. |
248 --config convert.hg.tagsbranch=default (branch name) | 248 --config convert.hg.tagsbranch=default (branch name) |
249 tag revisions branch name | 249 tag revisions branch name |