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