--- a/hgext/mq.py Mon May 19 10:19:59 2008 +0200
+++ b/hgext/mq.py Mon May 19 10:22:15 2008 +0200
@@ -1943,7 +1943,11 @@
return ret
def pop(ui, repo, patch=None, **opts):
- """pop the current patch off the stack"""
+ """pop the current patch off the stack
+
+ By default, pops off the top of the patch stack. If given a patch name,
+ keeps popping off patches until the named patch is at the top of the stack.
+ """
localupdate = True
if opts['name']:
q = queue(ui, repo.join(""), repo.join(opts['name']))