hgext/split.py
changeset 40293 c303d65d2e34
parent 38424 4f885770c4a2
child 40295 fa88170c10bb
equal deleted inserted replaced
40292:9c6473d2038b 40293:c303d65d2e34
    46 
    46 
    47 @command('^split',
    47 @command('^split',
    48     [('r', 'rev', '', _("revision to split"), _('REV')),
    48     [('r', 'rev', '', _("revision to split"), _('REV')),
    49      ('', 'rebase', True, _('rebase descendants after split')),
    49      ('', 'rebase', True, _('rebase descendants after split')),
    50     ] + cmdutil.commitopts2,
    50     ] + cmdutil.commitopts2,
    51     _('hg split [--no-rebase] [[-r] REV]'))
    51     _('hg split [--no-rebase] [[-r] REV]'),
       
    52     helpcategory=command.CATEGORY_CHANGE_MANAGEMENT)
    52 def split(ui, repo, *revs, **opts):
    53 def split(ui, repo, *revs, **opts):
    53     """split a changeset into smaller ones
    54     """split a changeset into smaller ones
    54 
    55 
    55     Repeatedly prompt changes and commit message for new changesets until there
    56     Repeatedly prompt changes and commit message for new changesets until there
    56     is nothing left in the original changeset.
    57     is nothing left in the original changeset.