1849 _('stop managing a revision (DEPRECATED)'), _('REV'))], |
1849 _('stop managing a revision (DEPRECATED)'), _('REV'))], |
1850 _('hg qdelete [-k] [PATCH]...')) |
1850 _('hg qdelete [-k] [PATCH]...')) |
1851 def delete(ui, repo, *patches, **opts): |
1851 def delete(ui, repo, *patches, **opts): |
1852 """remove patches from queue |
1852 """remove patches from queue |
1853 |
1853 |
1854 The patches must not be applied, and at least one patch is required. With |
1854 The patches must not be applied, and at least one patch is required. Exact |
1855 -k/--keep, the patch files are preserved in the patch directory. |
1855 patch identifiers must be given. With -k/--keep, the patch files are |
|
1856 preserved in the patch directory. |
1856 |
1857 |
1857 To stop managing a patch and move it into permanent history, |
1858 To stop managing a patch and move it into permanent history, |
1858 use the :hg:`qfinish` command.""" |
1859 use the :hg:`qfinish` command.""" |
1859 q = repo.mq |
1860 q = repo.mq |
1860 q.delete(repo, patches, opts) |
1861 q.delete(repo, patches, opts) |