equal
deleted
inserted
replaced
2659 @command('^split', |
2659 @command('^split', |
2660 [('r', 'rev', [], _("revision to fold")), |
2660 [('r', 'rev', [], _("revision to fold")), |
2661 ] + commitopts + commitopts2, |
2661 ] + commitopts + commitopts2, |
2662 _('hg split [OPTION]... [-r] REV')) |
2662 _('hg split [OPTION]... [-r] REV')) |
2663 def cmdsplit(ui, repo, *revs, **opts): |
2663 def cmdsplit(ui, repo, *revs, **opts): |
2664 """Split the current commit using interactive selection (EXPERIMENTAL) |
2664 """Split the current commit using interactive selection |
2665 |
2665 |
2666 By default, split the current revision by prompting for all its hunk to be |
2666 By default, split the current revision by prompting for all its hunk to be |
2667 redistributed into new changesets. |
2667 redistributed into new changesets. |
2668 |
2668 |
2669 Use --rev for splitting a given changeset instead. |
2669 Use --rev for splitting a given changeset instead. |