clfilter: ensure that mq performs commits on unfiltered repos
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Mon, 08 Oct 2012 18:02:25 +0200
changeset 18010 38b51a60a195
parent 18009 67c874d14c2c
child 18011 4908197d7422
clfilter: ensure that mq performs commits on unfiltered repos
hgext/mq.py
--- a/hgext/mq.py	Mon Oct 08 17:50:02 2012 +0200
+++ b/hgext/mq.py	Mon Oct 08 18:02:25 2012 +0200
@@ -275,6 +275,7 @@
     It should be used instead of repo.commit inside the mq source for operation
     creating new changeset.
     """
+    repo = repo.unfiltered()
     if phase is None:
         if repo.ui.configbool('mq', 'secret', False):
             phase = phases.secret