Skip to content
Snippets Groups Projects
Commit c55eac3f authored by Matt Mackall's avatar Matt Mackall
Browse files

censor: mark experimental option

parent 7e3bb3e1
No related branches found
No related tags found
No related merge requests found
......@@ -270,6 +270,7 @@
err(lr, _("unpacked size is %s, %s expected") %
(l, fl.size(i)), f)
except error.CensoredNodeError:
# experimental config: censor.policy
if ui.config("censor", "policy", "abort") == "abort":
err(lr, _("censored file data"), f)
except Exception as inst:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment