mq: fix qheader without args when guards are applied after qtop
authorBrendan Cully <brendan@kublai.com>
Tue, 12 Dec 2006 12:40:51 -0800
changeset 3874 e88d03c2a3d9
parent 3873 a41b01a3c29f
child 3875 c0a12e6441a5
child 3878 729f354f3f09
mq: fix qheader without args when guards are applied after qtop
hgext/mq.py
--- a/hgext/mq.py	Tue Dec 12 19:11:01 2006 +0100
+++ b/hgext/mq.py	Tue Dec 12 12:40:51 2006 -0800
@@ -744,7 +744,7 @@
                 return matches[0]
             if len(self.series) > 0 and len(self.applied) > 0:
                 if s == 'qtip':
-                    return self.series[self.series_end()-1]
+                    return self.series[self.series_end(True)-1]
                 if s == 'qbase':
                     return self.series[0]
             return None