# HG changeset patch # User Cédric Duval # Date 1245788425 -7200 # Node ID 8be38b62490232fa8dfd91891e7215e2bcef6fcd # Parent d403cf4eb32d207da16128e08a11391d9e08dd9b mq: no longer mention the deprecated qdelete's --revision option The option will no longer show up in the list, unless --verbose is used. 'qdel -r' has been deprecated in favor of qfinish since the 1.1 release. It is still fully functional, but new users need not learn about it. diff -r d403cf4eb32d -r 8be38b624902 hgext/mq.py --- a/hgext/mq.py Tue Jun 23 21:49:49 2009 +0200 +++ b/hgext/mq.py Tue Jun 23 22:20:25 2009 +0200 @@ -1641,16 +1641,14 @@ def delete(ui, repo, *patches, **opts): """remove patches from queue - The patches must not be applied, unless they are arguments to the - -r/--rev parameter. At least one patch or revision is required. - - With --rev, mq will stop managing the named revisions (converting - them to regular Mercurial changesets). The qfinish command should - be used as an alternative for qdelete -r, as the latter option is - deprecated. + The patches must not be applied, and at least one patch is + required. With -k/--keep, the patch files are preserved in the patch - directory.""" + directory. + + To stop managing a patch and move it into permanent history, + use the qfinish command.""" q = repo.mq q.delete(repo, patches, opts) q.save_dirty() @@ -2520,7 +2518,7 @@ "qdelete|qremove|qrm": (delete, [('k', 'keep', None, _('keep patch file')), - ('r', 'rev', [], _('stop managing a revision'))], + ('r', 'rev', [], _('stop managing a revision (DEPRECATED)'))], _('hg qdelete [-k] [-r REV]... [PATCH]...')), 'qfold': (fold,