##// END OF EJS Templates
verify: improve progress descriptions...
Steve Borho -
r10906:6ced27d3 default
parent child Browse files
Show More
@@ -122,7 +122,7 b' def _verify(repo):'
122 checklog(cl, "changelog", 0)
122 checklog(cl, "changelog", 0)
123 total = len(repo)
123 total = len(repo)
124 for i in repo:
124 for i in repo:
125 ui.progress(_('checking'), i, total=total)
125 ui.progress(_('changesets'), i, total=total)
126 n = cl.node(i)
126 n = cl.node(i)
127 checkentry(cl, i, n, seen, [i], "changelog")
127 checkentry(cl, i, n, seen, [i], "changelog")
128
128
@@ -133,14 +133,14 b' def _verify(repo):'
133 filelinkrevs.setdefault(f, []).append(i)
133 filelinkrevs.setdefault(f, []).append(i)
134 except Exception, inst:
134 except Exception, inst:
135 exc(i, _("unpacking changeset %s") % short(n), inst)
135 exc(i, _("unpacking changeset %s") % short(n), inst)
136 ui.progress(_('checking'), None)
136 ui.progress(_('changesets'), None)
137
137
138 ui.status(_("checking manifests\n"))
138 ui.status(_("checking manifests\n"))
139 seen = {}
139 seen = {}
140 checklog(mf, "manifest", 0)
140 checklog(mf, "manifest", 0)
141 total = len(mf)
141 total = len(mf)
142 for i in mf:
142 for i in mf:
143 ui.progress(_('checking'), i, total=total)
143 ui.progress(_('manifests'), i, total=total)
144 n = mf.node(i)
144 n = mf.node(i)
145 lr = checkentry(mf, i, n, seen, mflinkrevs.get(n, []), "manifest")
145 lr = checkentry(mf, i, n, seen, mflinkrevs.get(n, []), "manifest")
146 if n in mflinkrevs:
146 if n in mflinkrevs:
@@ -156,7 +156,7 b' def _verify(repo):'
156 filenodes.setdefault(f, {}).setdefault(fn, lr)
156 filenodes.setdefault(f, {}).setdefault(fn, lr)
157 except Exception, inst:
157 except Exception, inst:
158 exc(lr, _("reading manifest delta %s") % short(n), inst)
158 exc(lr, _("reading manifest delta %s") % short(n), inst)
159 ui.progress(_('checking'), None)
159 ui.progress(_('manifests'), None)
160
160
161 ui.status(_("crosschecking files in changesets and manifests\n"))
161 ui.status(_("crosschecking files in changesets and manifests\n"))
162
162
General Comments 0
You need to be logged in to leave comments. Login now