# HG changeset patch # User Pierre-Yves David # Date 2012-01-19 10:30:37 # Node ID 44b5de2d18768043d5a4e12ef8bc62f372dbbd60 # Parent 2dc599583ebe272f610403dedd79d10898702b4c qfinish: set all qfinished patch as draft, not only qbase Fix a silly bug. diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.py +++ b/hgext/mq.py @@ -822,7 +822,7 @@ class queue(object): 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'):