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