comparison hgext/mq.py @ 8929:cb05e2a00291

mq: compact & rewrap documentation for qdelete command
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 24 Jun 2009 12:03:13 +0200
parents 8be38b624902
children f87884329419
comparison
equal deleted inserted replaced
8928:1e16f9b21ce4 8929:cb05e2a00291
1639 qrepo.add(added) 1639 qrepo.add(added)
1640 1640
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, and at least one patch is 1644 The patches must not be applied, and at least one patch is required. With
1645 required. 1645 -k/--keep, the patch files are preserved in the patch directory.
1646
1647 With -k/--keep, the patch files are preserved in the patch
1648 directory.
1649 1646
1650 To stop managing a patch and move it into permanent history, 1647 To stop managing a patch and move it into permanent history,
1651 use the qfinish command.""" 1648 use the qfinish command."""
1652 q = repo.mq 1649 q = repo.mq
1653 q.delete(repo, patches, opts) 1650 q.delete(repo, patches, opts)