83 comma-separated values. The key is the revision ID in the source |
83 comma-separated values. The key is the revision ID in the source |
84 revision control system whose parents should be modified (same |
84 revision control system whose parents should be modified (same |
85 format as a key in .hg/shamap). The values are the revision IDs |
85 format as a key in .hg/shamap). The values are the revision IDs |
86 (in either the source or destination revision control system) that |
86 (in either the source or destination revision control system) that |
87 should be used as the new parents for that node. |
87 should be used as the new parents for that node. |
|
88 |
|
89 The branchmap is a file that allows you to rename a branch when it is |
|
90 being brought in from whatever external repository. When used in |
|
91 conjunction with a splicemap, it allows for a powerful combination |
|
92 to help fix even the most badly mismanaged repositories and turn them |
|
93 into nicely structured Mercurial repositories. The branchmap contains |
|
94 lines of the form "original_branch_name new_branch_name". |
|
95 "original_branch_name" is the name of the branch in the source |
|
96 repository, and "new_branch_name" is the name of the branch is the |
|
97 destination repository. This can be used to (for instance) move code |
|
98 in one repository from "default" to a named branch. |
88 |
99 |
89 Mercurial Source |
100 Mercurial Source |
90 ----------------- |
101 ----------------- |
91 |
102 |
92 --config convert.hg.ignoreerrors=False (boolean) |
103 --config convert.hg.ignoreerrors=False (boolean) |
233 ('d', 'dest-type', '', _('destination repository type')), |
244 ('d', 'dest-type', '', _('destination repository type')), |
234 ('', 'filemap', '', _('remap file names using contents of file')), |
245 ('', 'filemap', '', _('remap file names using contents of file')), |
235 ('r', 'rev', '', _('import up to target revision REV')), |
246 ('r', 'rev', '', _('import up to target revision REV')), |
236 ('s', 'source-type', '', _('source repository type')), |
247 ('s', 'source-type', '', _('source repository type')), |
237 ('', 'splicemap', '', _('splice synthesized history into place')), |
248 ('', 'splicemap', '', _('splice synthesized history into place')), |
|
249 ('', 'branchmap', '', _('change branch names while converting')), |
238 ('', 'datesort', None, _('try to sort changesets by date'))], |
250 ('', 'datesort', None, _('try to sort changesets by date'))], |
239 _('hg convert [OPTION]... SOURCE [DEST [REVMAP]]')), |
251 _('hg convert [OPTION]... SOURCE [DEST [REVMAP]]')), |
240 "debugsvnlog": |
252 "debugsvnlog": |
241 (debugsvnlog, |
253 (debugsvnlog, |
242 [], |
254 [], |