# HG changeset patch # User Pierre-Yves David # Date 1349719300 -7200 # Node ID 4908197d74227de5d6c9d127a1d1aca201706b4f # Parent 38b51a60a1950e53d6c0ba8950d0574a4f9bd8b1 clfilter: mq should not warn about filtered mq patches MQ warns when qstatus contains unknown nodes. With changelog filtering, a node may be unknown because it is filtered. Thus, an unfiltered repo is used for this check. diff -r 38b51a60a195 -r 4908197d7422 hgext/mq.py --- 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))