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