mercurial/commands.py
branchstable
changeset 16219 28c5648771d1
parent 16191 7c75924a6926
child 16227 7855c522a9cb
child 16230 d4d35fd0889d
--- 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))