mq: update qfold to call delete correctly
authorBrendan Cully <brendan@kublai.com>
Tue, 03 Oct 2006 16:36:40 -0700
changeset 3243 1d3aceae87c1
parent 3242 1539f788e913
child 3244 f045b049a704
child 3250 e96d2956eb4a
mq: update qfold to call delete correctly
hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -1618,7 +1618,7 @@ def fold(ui, repo, *files, **opts):
         message = ui.edit(message, user or ui.username())
 
     q.refresh(repo, msg=message)
-    q.delete(repo, patches, keep=opts['keep'])
+    q.delete(repo, patches, opts)
     q.save_dirty()
 
 def guard(ui, repo, *args, **opts):