Mercurial > hg
comparison mercurial/commands.py @ 9012:ada93c6bf554
bisect: fix format specifiers for integers
author | Cédric Duval <cedricduval@free.fr> |
---|---|
date | Wed, 01 Jul 2009 23:15:26 +0200 |
parents | 7b19cda0fa10 |
children | 3b76321aa0de |
comparison
equal
deleted
inserted
replaced
9011:b81baf9e4dd6 | 9012:ada93c6bf554 |
---|---|
394 # compute the approximate number of remaining tests | 394 # compute the approximate number of remaining tests |
395 tests, size = 0, 2 | 395 tests, size = 0, 2 |
396 while size <= changesets: | 396 while size <= changesets: |
397 tests, size = tests + 1, size * 2 | 397 tests, size = tests + 1, size * 2 |
398 rev = repo.changelog.rev(node) | 398 rev = repo.changelog.rev(node) |
399 ui.write(_("Testing changeset %s:%s " | 399 ui.write(_("Testing changeset %d:%s " |
400 "(%s changesets remaining, ~%s tests)\n") | 400 "(%d changesets remaining, ~%d tests)\n") |
401 % (rev, short(node), changesets, tests)) | 401 % (rev, short(node), changesets, tests)) |
402 if not noupdate: | 402 if not noupdate: |
403 cmdutil.bail_if_changed(repo) | 403 cmdutil.bail_if_changed(repo) |
404 return hg.clean(repo, node) | 404 return hg.clean(repo, node) |
405 | 405 |