diff mercurial/commands.py @ 16227:7855c522a9cb

merge with stable
author Matt Mackall <mpm@selenic.com>
date Sun, 04 Mar 2012 16:48:04 -0600
parents 81a1a00f5738 28c5648771d1
children 877aea86fb73
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Mar 01 14:50:31 2012 +0000
+++ b/mercurial/commands.py	Sun Mar 04 16:48:04 2012 -0600
@@ -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))