Show More
@@ -77,22 +77,27 b' def convert(ui, src, dest=None, revmapfi' | |||
|
77 | 77 | srcauthor=whatever string you want |
|
78 | 78 | |
|
79 | 79 | The filemap is a file that allows filtering and remapping of files |
|
80 | and directories. Comment lines start with '#'. Each line can | |
|
81 | contain one of the following directives:: | |
|
80 | and directories. Each line can contain one of the following | |
|
81 | directives:: | |
|
82 | ||
|
83 | include path/to/file-or-dir | |
|
84 | ||
|
85 | exclude path/to/file-or-dir | |
|
82 | 86 | |
|
83 | include path/to/file | |
|
87 | rename path/to/source path/to/destination | |
|
84 | 88 | |
|
85 | exclude path/to/file | |
|
86 | ||
|
87 | rename from/file to/file | |
|
89 | Comment lines start with '#'. A specificed path matches if it | |
|
90 | equals the full relative name of a file or one of its parent | |
|
91 | directories. The 'include' or 'exclude' directive with the longest | |
|
92 | matching path applies, so line order does not matter. | |
|
88 | 93 | |
|
89 | 94 | The 'include' directive causes a file, or all files under a |
|
90 | 95 | directory, to be included in the destination repository, and the |
|
91 | 96 | exclusion of all other files and directories not explicitly |
|
92 | 97 | included. The 'exclude' directive causes files or directories to |
|
93 |
be omitted. The 'rename' directive renames a file or directory |
|
|
94 |
rename from a subdirectory into the root of the |
|
|
95 | '.' as the path to rename to. | |
|
98 | be omitted. The 'rename' directive renames a file or directory if | |
|
99 | is converted. To rename from a subdirectory into the root of the | |
|
100 | repository, use '.' as the path to rename to. | |
|
96 | 101 | |
|
97 | 102 | The splicemap is a file that allows insertion of synthetic |
|
98 | 103 | history, letting you specify the parents of a revision. This is |
@@ -57,21 +57,25 b' convert a foreign SCM repository to a Me' | |||
|
57 | 57 | mapping and the line format is: srcauthor=whatever string you want |
|
58 | 58 | |
|
59 | 59 | The filemap is a file that allows filtering and remapping of files and |
|
60 |
directories. |
|
|
61 | the following directives: | |
|
60 | directories. Each line can contain one of the following directives: | |
|
61 | ||
|
62 | include path/to/file-or-dir | |
|
63 | ||
|
64 | exclude path/to/file-or-dir | |
|
62 | 65 | |
|
63 | include path/to/file | |
|
66 | rename path/to/source path/to/destination | |
|
64 | 67 | |
|
65 | exclude path/to/file | |
|
66 | ||
|
67 | rename from/file to/file | |
|
68 | Comment lines start with '#'. A specificed path matches if it equals the | |
|
69 | full relative name of a file or one of its parent directories. The | |
|
70 | 'include' or 'exclude' directive with the longest matching path applies, | |
|
71 | so line order does not matter. | |
|
68 | 72 | |
|
69 | 73 | The 'include' directive causes a file, or all files under a directory, to |
|
70 | 74 | be included in the destination repository, and the exclusion of all other |
|
71 | 75 | files and directories not explicitly included. The 'exclude' directive |
|
72 | 76 | causes files or directories to be omitted. The 'rename' directive renames |
|
73 |
a file or directory. To rename from a subdirectory into |
|
|
74 | repository, use '.' as the path to rename to. | |
|
77 | a file or directory if is converted. To rename from a subdirectory into | |
|
78 | the root of the repository, use '.' as the path to rename to. | |
|
75 | 79 | |
|
76 | 80 | The splicemap is a file that allows insertion of synthetic history, |
|
77 | 81 | 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