##// END OF EJS Templates
mq: no longer mention the deprecated qdelete's --revision option...
Cédric Duval -
r8904:8be38b62 default
parent child Browse files
Show More
@@ -1641,16 +1641,14 b' class queue(object):'
1641 def delete(ui, repo, *patches, **opts):
1641 def delete(ui, repo, *patches, **opts):
1642 """remove patches from queue
1642 """remove patches from queue
1643
1643
1644 The patches must not be applied, unless they are arguments to the
1644 The patches must not be applied, and at least one patch is
1645 -r/--rev parameter. At least one patch or revision is required.
1645 required.
1646
1647 With --rev, mq will stop managing the named revisions (converting
1648 them to regular Mercurial changesets). The qfinish command should
1649 be used as an alternative for qdelete -r, as the latter option is
1650 deprecated.
1651
1646
1652 With -k/--keep, the patch files are preserved in the patch
1647 With -k/--keep, the patch files are preserved in the patch
1653 directory."""
1648 directory.
1649
1650 To stop managing a patch and move it into permanent history,
1651 use the qfinish command."""
1654 q = repo.mq
1652 q = repo.mq
1655 q.delete(repo, patches, opts)
1653 q.delete(repo, patches, opts)
1656 q.save_dirty()
1654 q.save_dirty()
@@ -2520,7 +2518,7 b' cmdtable = {'
2520 "qdelete|qremove|qrm":
2518 "qdelete|qremove|qrm":
2521 (delete,
2519 (delete,
2522 [('k', 'keep', None, _('keep patch file')),
2520 [('k', 'keep', None, _('keep patch file')),
2523 ('r', 'rev', [], _('stop managing a revision'))],
2521 ('r', 'rev', [], _('stop managing a revision (DEPRECATED)'))],
2524 _('hg qdelete [-k] [-r REV]... [PATCH]...')),
2522 _('hg qdelete [-k] [-r REV]... [PATCH]...')),
2525 'qfold':
2523 'qfold':
2526 (fold,
2524 (fold,
General Comments 0
You need to be logged in to leave comments. Login now