Show More
@@ -260,7 +260,7 b' class convert(object):' | |||||
260 | self.mapfilefd.close() |
|
260 | self.mapfilefd.close() | |
261 |
|
261 | |||
262 | def _convert(ui, src, dest=None, mapfile=None, **opts): |
|
262 | def _convert(ui, src, dest=None, mapfile=None, **opts): | |
263 |
|
|
263 | """Convert a foreign SCM repository to a Mercurial one. | |
264 |
|
264 | |||
265 | Accepted source formats: |
|
265 | Accepted source formats: | |
266 | - GIT |
|
266 | - GIT | |
@@ -275,16 +275,16 b' def _convert(ui, src, dest=None, mapfile' | |||||
275 | understood by the source). |
|
275 | understood by the source). | |
276 |
|
276 | |||
277 | If no destination directory name is specified, it defaults to the |
|
277 | If no destination directory name is specified, it defaults to the | |
278 |
basename of the source with |
|
278 | basename of the source with '-hg' appended. If the destination | |
279 |
repository doesn |
|
279 | repository doesn't exist, it will be created. | |
280 |
|
280 | |||
281 |
If <mapfile> isn |
|
281 | If <mapfile> isn't given, it will be put in a default location | |
282 | (<dest>/.hg/shamap by default). The <mapfile> is a simple text |
|
282 | (<dest>/.hg/shamap by default). The <mapfile> is a simple text | |
283 | file that maps each source commit ID to the destination ID for |
|
283 | file that maps each source commit ID to the destination ID for | |
284 | that revision, like so: |
|
284 | that revision, like so: | |
285 | <source ID> <destination ID> |
|
285 | <source ID> <destination ID> | |
286 |
|
286 | |||
287 |
If the file doesn |
|
287 | If the file doesn't exist, it's automatically created. It's updated | |
288 | on each commit copied, so convert-repo can be interrupted and can |
|
288 | on each commit copied, so convert-repo can be interrupted and can | |
289 | be run repeatedly to copy new commits. |
|
289 | be run repeatedly to copy new commits. | |
290 |
|
290 | |||
@@ -293,7 +293,7 b' def _convert(ui, src, dest=None, mapfile' | |||||
293 | that use unix logins to identify authors (eg: CVS). One line per author |
|
293 | that use unix logins to identify authors (eg: CVS). One line per author | |
294 | mapping and the line format is: |
|
294 | mapping and the line format is: | |
295 | srcauthor=whatever string you want |
|
295 | srcauthor=whatever string you want | |
296 | ''' |
|
296 | """ | |
297 |
|
297 | |||
298 | util._encoding = 'UTF-8' |
|
298 | util._encoding = 'UTF-8' | |
299 |
|
299 |
General Comments 0
You need to be logged in to leave comments.
Login now