--- a/hgext/mq.py Sun May 01 18:56:27 2011 +0200
+++ b/hgext/mq.py Sun May 01 17:20:40 2011 +0200
@@ -2987,7 +2987,7 @@
mqtags = [(patch.node, patch.name) for patch in q.applied]
try:
- r = self.changelog.rev(mqtags[-1][0])
+ self.changelog.rev(mqtags[-1][0])
except error.RepoLookupError:
self.ui.warn(_('mq status file refers to unknown node %s\n')
% short(mqtags[-1][0]))
--- a/hgext/progress.py Sun May 01 18:56:27 2011 +0200
+++ b/hgext/progress.py Sun May 01 17:20:40 2011 +0200
@@ -238,7 +238,7 @@
self.topicstates[topic] = pos, item, unit, total
if now - self.lastprint >= self.refresh and self.topics:
self.lastprint = now
- current = self.topics[-1]
+ self.topics[-1]
self.show(now, topic, *self.topicstates[topic])
def uisetup(ui):