diff -r 8412d5a02e6e -r 28c5648771d1 mercurial/commands.py --- a/mercurial/commands.py Fri Mar 02 14:11:06 2012 -0600 +++ b/mercurial/commands.py Fri Mar 02 11:46:18 2012 -0300 @@ -1381,7 +1381,8 @@ at = -1 atbranch = 'default' nodeids = [] - ui.progress(_('building'), 0, unit=_('revisions'), total=total) + id = 0 + ui.progress(_('building'), id, unit=_('revisions'), total=total) for type, data in dagparser.parsedag(text): if type == 'n': ui.note('node %s\n' % str(data))