# HG changeset patch # User Dirkjan Ochtman # Date 2008-05-19 08:22:15 # Node ID f4c612da788de2f93a9c4ef2b2ed3832b42518dc # Parent 92b5be85467795069e66611c1f4dbed1f16534f6 mq: add correct documentation for qpop diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.py +++ b/hgext/mq.py @@ -1943,7 +1943,11 @@ def push(ui, repo, patch=None, **opts): 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']))