comparison hgext/convert/__init__.py @ 20375:81cf597dafa9

convert: add closemap option Tests have been updated.
author Sean Farley <sean.michael.farley@gmail.com>
date Tue, 21 Jan 2014 11:35:17 -0600
parents e271970b9821
children b75a04502ced
comparison
equal deleted inserted replaced
20374:a3545c3104aa 20375:81cf597dafa9
138 where "original_branch_name" is the name of the branch in the 138 where "original_branch_name" is the name of the branch in the
139 source repository, and "new_branch_name" is the name of the branch 139 source repository, and "new_branch_name" is the name of the branch
140 is the destination repository. No whitespace is allowed in the 140 is the destination repository. No whitespace is allowed in the
141 branch names. This can be used to (for instance) move code in one 141 branch names. This can be used to (for instance) move code in one
142 repository from "default" to a named branch. 142 repository from "default" to a named branch.
143
144 The closemap is a file that allows closing of a branch. This is useful if
145 you want to close a branch. Each entry contains a revision or hash
146 separated by white space.
143 147
144 Mercurial Source 148 Mercurial Source
145 ################ 149 ################
146 150
147 The Mercurial source recognizes the following configuration 151 The Mercurial source recognizes the following configuration
317 _('remap file names using contents of file'), _('FILE')), 321 _('remap file names using contents of file'), _('FILE')),
318 ('', 'splicemap', '', 322 ('', 'splicemap', '',
319 _('splice synthesized history into place'), _('FILE')), 323 _('splice synthesized history into place'), _('FILE')),
320 ('', 'branchmap', '', 324 ('', 'branchmap', '',
321 _('change branch names while converting'), _('FILE')), 325 _('change branch names while converting'), _('FILE')),
326 ('', 'closemap', '',
327 _('closes given revs'), _('FILE')),
322 ('', 'branchsort', None, _('try to sort changesets by branches')), 328 ('', 'branchsort', None, _('try to sort changesets by branches')),
323 ('', 'datesort', None, _('try to sort changesets by date')), 329 ('', 'datesort', None, _('try to sort changesets by date')),
324 ('', 'sourcesort', None, _('preserve source changesets order')), 330 ('', 'sourcesort', None, _('preserve source changesets order')),
325 ('', 'closesort', None, _('try to reorder closed revisions'))], 331 ('', 'closesort', None, _('try to reorder closed revisions'))],
326 _('hg convert [OPTION]... SOURCE [DEST [REVMAP]]')), 332 _('hg convert [OPTION]... SOURCE [DEST [REVMAP]]')),