diff -r 7361d8244efb -r b6f7cf47f5d1 hgext/mq.py --- a/hgext/mq.py Sat Nov 01 22:58:30 2014 +0000 +++ b/hgext/mq.py Sat Nov 01 22:59:37 2014 +0000 @@ -2001,7 +2001,7 @@ base = repo.changelog.node(rev.first()) if base in [n.node for n in self.applied]: raise util.Abort(_('revision %d is already managed') - % rev[0]) + % rev.first()) if heads != [self.applied[-1].node]: raise util.Abort(_('revision %d is not the parent of ' 'the queue') % rev.first())