changeset 6611:f4c612da788d

mq: add correct documentation for qpop
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Mon, 19 May 2008 10:22:15 +0200
parents 92b5be854677
children 170818dad56b 4f3e0dfa24a9
files hgext/mq.py
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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']))