mq: add correct documentation for qpop
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Mon, 19 May 2008 10:22:15 +0200
changeset 6611 f4c612da788d
parent 6610 92b5be854677
child 6619 170818dad56b
child 6620 4f3e0dfa24a9
mq: add correct documentation for qpop
hgext/mq.py
--- 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']))