Mercurial > hg
comparison tests/test-convert.out @ 5488:247af577fe29
fix typo in convert help text, update test
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 05 Nov 2007 20:15:33 +0100 |
parents | 71e7c86adcb7 |
children | f0c58fd4b798 |
comparison
equal
deleted
inserted
replaced
5487:7a64931e2d76 | 5488:247af577fe29 |
---|---|
1 hg convert [OPTION]... SOURCE [DEST [MAPFILE]] | 1 hg convert [OPTION]... SOURCE [DEST [MAPFILE]] |
2 | 2 |
3 Convert a foreign SCM repository to a Mercurial one. | 3 Convert a foreign SCM repository to a Mercurial one. |
4 | 4 |
5 Accepted source formats: | 5 Accepted source formats: |
6 - Mercurial | |
6 - CVS | 7 - CVS |
7 - Darcs | 8 - Darcs |
8 - git | 9 - git |
9 - Subversion | 10 - Subversion |
10 | 11 |
17 | 18 |
18 If no destination directory name is specified, it defaults to the | 19 If no destination directory name is specified, it defaults to the |
19 basename of the source with '-hg' appended. If the destination | 20 basename of the source with '-hg' appended. If the destination |
20 repository doesn't exist, it will be created. | 21 repository doesn't exist, it will be created. |
21 | 22 |
22 If <revmapfile> isn't given, it will be put in a default location | 23 If <MAPFILE> isn't given, it will be put in a default location |
23 (<dest>/.hg/shamap by default). The <revmapfile> is a simple text | 24 (<dest>/.hg/shamap by default). The <MAPFILE> is a simple text |
24 file that maps each source commit ID to the destination ID for | 25 file that maps each source commit ID to the destination ID for |
25 that revision, like so: | 26 that revision, like so: |
26 <source ID> <destination ID> | 27 <source ID> <destination ID> |
27 | 28 |
28 If the file doesn't exist, it's automatically created. It's updated | 29 If the file doesn't exist, it's automatically created. It's updated |
44 exclude path/to/file | 45 exclude path/to/file |
45 | 46 |
46 rename from/file to/file | 47 rename from/file to/file |
47 | 48 |
48 The 'include' directive causes a file, or all files under a | 49 The 'include' directive causes a file, or all files under a |
49 directory, to be included in the destination repository. The | 50 directory, to be included in the destination repository, and the |
50 'exclude' directive causes files or directories to be omitted. | 51 exclusion of all other files and dirs not explicitely included. |
51 The 'rename' directive renames a file or directory. To rename | 52 The 'exclude' directive causes files or directories to be omitted. |
52 from a subdirectory into the root of the repository, use '.' as | 53 The 'rename' directive renames a file or directory. To rename from a |
53 the path to rename to. | 54 subdirectory into the root of the repository, use '.' as the path to |
55 rename to. | |
54 | 56 |
55 options: | 57 options: |
56 | 58 |
57 -A --authors username mapping filename | 59 -A --authors username mapping filename |
58 -d --dest-type destination repository type | 60 -d --dest-type destination repository type |