Mercurial > hg
changeset 12745:5a1912b5aa42
verify/progress: using gerund to indicate action and adding units
author | timeless <timeless@gmail.com> |
---|---|
date | Mon, 02 Aug 2010 07:15:47 +0300 |
parents | 0793d763e413 |
children | 8b438cb84c57 |
files | mercurial/verify.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/verify.py Tue Jul 20 20:53:48 2010 +0200 +++ b/mercurial/verify.py Mon Aug 02 07:15:47 2010 +0300 @@ -124,7 +124,7 @@ checklog(cl, "changelog", 0) total = len(repo) for i in repo: - ui.progress(_('changesets'), i, total=total) + ui.progress(_('checking'), i, total=total, unit=_('changesets')) n = cl.node(i) checkentry(cl, i, n, seen, [i], "changelog") @@ -135,14 +135,14 @@ filelinkrevs.setdefault(f, []).append(i) except Exception, inst: exc(i, _("unpacking changeset %s") % short(n), inst) - ui.progress(_('changesets'), None) + ui.progress(_('checking'), None) ui.status(_("checking manifests\n")) seen = {} checklog(mf, "manifest", 0) total = len(mf) for i in mf: - ui.progress(_('manifests'), i, total=total) + ui.progress(_('checking'), i, total=total, unit=_('manifests')) n = mf.node(i) lr = checkentry(mf, i, n, seen, mflinkrevs.get(n, []), "manifest") if n in mflinkrevs: @@ -158,7 +158,7 @@ filenodes.setdefault(f, {}).setdefault(fn, lr) except Exception, inst: exc(lr, _("reading manifest delta %s") % short(n), inst) - ui.progress(_('manifests'), None) + ui.progress(_('checking'), None) ui.status(_("crosschecking files in changesets and manifests\n"))