##// END OF EJS Templates
verify: rename "hasmanifest" variable for source code readability...
FUJIWARA Katsunori -
r17720:9a1796af default
parent child Browse files
Show More
@@ -120,7 +120,7 b' def _verify(repo):'
120 120 havemf = len(mf) > 0
121 121
122 122 ui.status(_("checking changesets\n"))
123 hasmanifest = False
123 refersmf = False
124 124 seen = {}
125 125 checklog(cl, "changelog", 0)
126 126 total = len(repo)
@@ -133,17 +133,17 b' def _verify(repo):'
133 133 changes = cl.read(n)
134 134 if changes[0] != nullid:
135 135 mflinkrevs.setdefault(changes[0], []).append(i)
136 hasmanifest = True
136 refersmf = True
137 137 for f in changes[3]:
138 138 filelinkrevs.setdefault(f, []).append(i)
139 139 except Exception, inst:
140 hasmanifest = True
140 refersmf = True
141 141 exc(i, _("unpacking changeset %s") % short(n), inst)
142 142 ui.progress(_('checking'), None)
143 143
144 144 ui.status(_("checking manifests\n"))
145 145 seen = {}
146 if hasmanifest:
146 if refersmf:
147 147 # Do not check manifest if there are only changelog entries with
148 148 # null manifests.
149 149 checklog(mf, "manifest", 0)
General Comments 0
You need to be logged in to leave comments. Login now