Show More
@@ -40,7 +40,7 b' def convert(ui, src, dest=None, revmapfi' | |||||
40 | (given in a format understood by the source). |
|
40 | (given in a format understood by the source). | |
41 |
|
41 | |||
42 | If no destination directory name is specified, it defaults to the |
|
42 | If no destination directory name is specified, it defaults to the | |
43 |
basename of the source with |
|
43 | basename of the source with ``-hg`` appended. If the destination | |
44 | repository doesn't exist, it will be created. |
|
44 | repository doesn't exist, it will be created. | |
45 |
|
45 | |||
46 | By default, all sources except Mercurial will use --branchsort. |
|
46 | By default, all sources except Mercurial will use --branchsort. | |
@@ -89,18 +89,18 b' def convert(ui, src, dest=None, revmapfi' | |||||
89 |
|
89 | |||
90 | rename path/to/source path/to/destination |
|
90 | rename path/to/source path/to/destination | |
91 |
|
91 | |||
92 |
Comment lines start with |
|
92 | Comment lines start with ``#``. A specificed path matches if it | |
93 | equals the full relative name of a file or one of its parent |
|
93 | equals the full relative name of a file or one of its parent | |
94 |
directories. The |
|
94 | directories. The ``include`` or ``exclude`` directive with the | |
95 | matching path applies, so line order does not matter. |
|
95 | longest matching path applies, so line order does not matter. | |
96 |
|
96 | |||
97 |
The |
|
97 | The ``include`` directive causes a file, or all files under a | |
98 | directory, to be included in the destination repository, and the |
|
98 | directory, to be included in the destination repository, and the | |
99 | exclusion of all other files and directories not explicitly |
|
99 | exclusion of all other files and directories not explicitly | |
100 |
included. The |
|
100 | included. The ``exclude`` directive causes files or directories to | |
101 |
be omitted. The |
|
101 | be omitted. The ``rename`` directive renames a file or directory if | |
102 | is converted. To rename from a subdirectory into the root of the |
|
102 | is converted. To rename from a subdirectory into the root of the | |
103 |
repository, use |
|
103 | repository, use ``.`` as the path to rename to. | |
104 |
|
104 | |||
105 | The splicemap is a file that allows insertion of synthetic |
|
105 | The splicemap is a file that allows insertion of synthetic | |
106 | history, letting you specify the parents of a revision. This is |
|
106 | history, letting you specify the parents of a revision. This is |
@@ -24,7 +24,7 b' convert a foreign SCM repository to a Me' | |||||
24 | understood by the source). |
|
24 | understood by the source). | |
25 |
|
25 | |||
26 | If no destination directory name is specified, it defaults to the basename |
|
26 | If no destination directory name is specified, it defaults to the basename | |
27 |
of the source with |
|
27 | of the source with "-hg" appended. If the destination repository doesn't | |
28 | exist, it will be created. |
|
28 | exist, it will be created. | |
29 |
|
29 | |||
30 | By default, all sources except Mercurial will use --branchsort. Mercurial |
|
30 | By default, all sources except Mercurial will use --branchsort. Mercurial | |
@@ -69,17 +69,17 b' convert a foreign SCM repository to a Me' | |||||
69 |
|
69 | |||
70 | rename path/to/source path/to/destination |
|
70 | rename path/to/source path/to/destination | |
71 |
|
71 | |||
72 |
Comment lines start with |
|
72 | Comment lines start with "#". A specificed path matches if it equals the | |
73 | full relative name of a file or one of its parent directories. The |
|
73 | full relative name of a file or one of its parent directories. The | |
74 |
|
|
74 | "include" or "exclude" directive with the longest matching path applies, | |
75 | so line order does not matter. |
|
75 | so line order does not matter. | |
76 |
|
76 | |||
77 |
The |
|
77 | The "include" directive causes a file, or all files under a directory, to | |
78 | be included in the destination repository, and the exclusion of all other |
|
78 | be included in the destination repository, and the exclusion of all other | |
79 |
files and directories not explicitly included. The |
|
79 | files and directories not explicitly included. The "exclude" directive | |
80 |
causes files or directories to be omitted. The |
|
80 | causes files or directories to be omitted. The "rename" directive renames | |
81 | a file or directory if is converted. To rename from a subdirectory into |
|
81 | a file or directory if is converted. To rename from a subdirectory into | |
82 |
the root of the repository, use |
|
82 | the root of the repository, use "." as the path to rename to. | |
83 |
|
83 | |||
84 | The splicemap is a file that allows insertion of synthetic history, |
|
84 | The splicemap is a file that allows insertion of synthetic history, | |
85 | letting you specify the parents of a revision. This is useful if you want |
|
85 | letting you specify the parents of a revision. This is useful if you want |
General Comments 0
You need to be logged in to leave comments.
Login now