comparison 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
comparison
equal deleted inserted replaced
16224:d52a6b542db1 16227:7855c522a9cb
1379 tr = repo.transaction("builddag") 1379 tr = repo.transaction("builddag")
1380 1380
1381 at = -1 1381 at = -1
1382 atbranch = 'default' 1382 atbranch = 'default'
1383 nodeids = [] 1383 nodeids = []
1384 ui.progress(_('building'), 0, unit=_('revisions'), total=total) 1384 id = 0
1385 ui.progress(_('building'), id, unit=_('revisions'), total=total)
1385 for type, data in dagparser.parsedag(text): 1386 for type, data in dagparser.parsedag(text):
1386 if type == 'n': 1387 if type == 'n':
1387 ui.note('node %s\n' % str(data)) 1388 ui.note('node %s\n' % str(data))
1388 id, ps = data 1389 id, ps = data
1389 1390