changeset 15931:44b5de2d1876

qfinish: set all qfinished patch as draft, not only qbase Fix a silly bug.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Thu, 19 Jan 2012 11:30:37 +0100
parents 2dc599583ebe
children 4154338f0bc0
files hgext/mq.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Thu Jan 19 10:07:13 2012 +0100
+++ b/hgext/mq.py	Thu Jan 19 11:30:37 2012 +0100
@@ -822,7 +822,7 @@
         if qfinished:
             oldqbase = repo[qfinished[0]]
             if oldqbase.p1().phase() < phases.secret:
-                phases.advanceboundary(repo, phases.draft, [oldqbase.node()])
+                phases.advanceboundary(repo, phases.draft, qfinished)
 
     def delete(self, repo, patches, opts):
         if not patches and not opts.get('rev'):