##// END OF EJS Templates
verify/progress: using gerund to indicate action and adding units
timeless -
r12745:5a1912b5 default
parent child Browse files
Show More
@@ -124,7 +124,7 b' def _verify(repo):'
124 124 checklog(cl, "changelog", 0)
125 125 total = len(repo)
126 126 for i in repo:
127 ui.progress(_('changesets'), i, total=total)
127 ui.progress(_('checking'), i, total=total, unit=_('changesets'))
128 128 n = cl.node(i)
129 129 checkentry(cl, i, n, seen, [i], "changelog")
130 130
@@ -135,14 +135,14 b' def _verify(repo):'
135 135 filelinkrevs.setdefault(f, []).append(i)
136 136 except Exception, inst:
137 137 exc(i, _("unpacking changeset %s") % short(n), inst)
138 ui.progress(_('changesets'), None)
138 ui.progress(_('checking'), None)
139 139
140 140 ui.status(_("checking manifests\n"))
141 141 seen = {}
142 142 checklog(mf, "manifest", 0)
143 143 total = len(mf)
144 144 for i in mf:
145 ui.progress(_('manifests'), i, total=total)
145 ui.progress(_('checking'), i, total=total, unit=_('manifests'))
146 146 n = mf.node(i)
147 147 lr = checkentry(mf, i, n, seen, mflinkrevs.get(n, []), "manifest")
148 148 if n in mflinkrevs:
@@ -158,7 +158,7 b' def _verify(repo):'
158 158 filenodes.setdefault(f, {}).setdefault(fn, lr)
159 159 except Exception, inst:
160 160 exc(lr, _("reading manifest delta %s") % short(n), inst)
161 ui.progress(_('manifests'), None)
161 ui.progress(_('checking'), None)
162 162
163 163 ui.status(_("crosschecking files in changesets and manifests\n"))
164 164
General Comments 0
You need to be logged in to leave comments. Login now