Show More
@@ -299,6 +299,7 b' def convert(ui, src, dest=None, revmapfi' | |||||
299 | """Convert a foreign SCM repository to a Mercurial one. |
|
299 | """Convert a foreign SCM repository to a Mercurial one. | |
300 |
|
300 | |||
301 | Accepted source formats: |
|
301 | Accepted source formats: | |
|
302 | - Mercurial | |||
302 | - CVS |
|
303 | - CVS | |
303 | - Darcs |
|
304 | - Darcs | |
304 | - git |
|
305 | - git | |
@@ -315,8 +316,8 b' def convert(ui, src, dest=None, revmapfi' | |||||
315 | basename of the source with '-hg' appended. If the destination |
|
316 | basename of the source with '-hg' appended. If the destination | |
316 | repository doesn't exist, it will be created. |
|
317 | repository doesn't exist, it will be created. | |
317 |
|
318 | |||
318 |
If < |
|
319 | If <MAPFILE> isn't given, it will be put in a default location | |
319 |
(<dest>/.hg/shamap by default). The < |
|
320 | (<dest>/.hg/shamap by default). The <MAPFILE> is a simple text | |
320 | file that maps each source commit ID to the destination ID for |
|
321 | file that maps each source commit ID to the destination ID for | |
321 | that revision, like so: |
|
322 | that revision, like so: | |
322 | <source ID> <destination ID> |
|
323 | <source ID> <destination ID> | |
@@ -342,11 +343,12 b' def convert(ui, src, dest=None, revmapfi' | |||||
342 | rename from/file to/file |
|
343 | rename from/file to/file | |
343 |
|
344 | |||
344 | The 'include' directive causes a file, or all files under a |
|
345 | The 'include' directive causes a file, or all files under a | |
345 |
directory, to be included in the destination repository |
|
346 | directory, to be included in the destination repository, and the | |
346 | 'exclude' directive causes files or directories to be omitted. |
|
347 | exclussion of all other files and dirs not explicitely included. | |
347 |
The ' |
|
348 | The 'exclude' directive causes files or directories to be omitted. | |
348 | from a subdirectory into the root of the repository, use '.' as |
|
349 | The 'rename' directive renames a file or directory. To rename from a | |
349 | the path to rename to. |
|
350 | subdirectory into the root of the repository, use '.' as the path to | |
|
351 | rename to. | |||
350 | """ |
|
352 | """ | |
351 |
|
353 | |||
352 | util._encoding = 'UTF-8' |
|
354 | util._encoding = 'UTF-8' |
General Comments 0
You need to be logged in to leave comments.
Login now