Mercurial > hg
diff hgext/convert/__init__.py @ 8377:29f4f0d66cd5
convert: adding branchmap functionality to convert extension
author | Michael J. Pedersen <m.pedersen@icelus.org> |
---|---|
date | Wed, 13 May 2009 15:03:31 -0400 |
parents | eee2319c5895 |
children | 06ace50443f6 |
line wrap: on
line diff
--- a/hgext/convert/__init__.py Wed May 13 22:42:40 2009 +0200 +++ b/hgext/convert/__init__.py Wed May 13 15:03:31 2009 -0400 @@ -86,6 +86,17 @@ (in either the source or destination revision control system) that should be used as the new parents for that node. + The branchmap is a file that allows you to rename a branch when it is + being brought in from whatever external repository. When used in + conjunction with a splicemap, it allows for a powerful combination + to help fix even the most badly mismanaged repositories and turn them + into nicely structured Mercurial repositories. The branchmap contains + lines of the form "original_branch_name new_branch_name". + "original_branch_name" is the name of the branch in the source + repository, and "new_branch_name" is the name of the branch is the + destination repository. This can be used to (for instance) move code + in one repository from "default" to a named branch. + Mercurial Source ----------------- @@ -235,6 +246,7 @@ ('r', 'rev', '', _('import up to target revision REV')), ('s', 'source-type', '', _('source repository type')), ('', 'splicemap', '', _('splice synthesized history into place')), + ('', 'branchmap', '', _('change branch names while converting')), ('', 'datesort', None, _('try to sort changesets by date'))], _('hg convert [OPTION]... SOURCE [DEST [REVMAP]]')), "debugsvnlog":