##// END OF EJS Templates
verify: report censored nodes if configured policy is abort
Mike Edgar -
r22933:3a60cd44 default
parent child Browse files
Show More
@@ -267,6 +267,9 b' def _verify(repo):'
267 if len(fl.revision(n)) != fl.size(i):
267 if len(fl.revision(n)) != fl.size(i):
268 err(lr, _("unpacked size is %s, %s expected") %
268 err(lr, _("unpacked size is %s, %s expected") %
269 (l, fl.size(i)), f)
269 (l, fl.size(i)), f)
270 except error.CensoredNodeError:
271 if ui.config("censor", "policy", "abort") == "abort":
272 err(lr, _("censored file data"), f)
270 except Exception, inst:
273 except Exception, inst:
271 exc(lr, _("unpacking %s") % short(n), inst, f)
274 exc(lr, _("unpacking %s") % short(n), inst, f)
272
275
General Comments 0
You need to be logged in to leave comments. Login now