hgext/mq.py
changeset 18011 4908197d7422
parent 18010 38b51a60a195
child 18054 b35e3364f94a
--- a/hgext/mq.py	Mon Oct 08 18:02:25 2012 +0200
+++ b/hgext/mq.py	Mon Oct 08 20:01:40 2012 +0200
@@ -3453,7 +3453,8 @@
             mqtags = [(patch.node, patch.name) for patch in q.applied]
 
             try:
-                self.changelog.rev(mqtags[-1][0])
+                # for now ignore filtering business
+                self.unfiltered().changelog.rev(mqtags[-1][0])
             except error.LookupError:
                 self.ui.warn(_('mq status file refers to unknown node %s\n')
                              % short(mqtags[-1][0]))
@@ -3483,7 +3484,7 @@
             else:
                 qbasenode = q.applied[0].node
                 try:
-                    qbase = cl.rev(qbasenode)
+                    qbase = self.unfiltered().changelog.rev(qbasenode)
                 except error.LookupError:
                     self.ui.warn(_('mq status file refers to unknown node %s\n')
                                  % short(qbasenode))