mercurial/context.py
changeset 33499 0407a51b9d8c
parent 33364 bf2daeddd42b
child 33501 7008f6819002
--- a/mercurial/context.py	Tue Jul 11 08:52:55 2017 -0700
+++ b/mercurial/context.py	Fri Jul 14 14:22:40 2017 -0700
@@ -1231,7 +1231,7 @@
         try:
             return self._filelog.read(self._filenode)
         except error.CensoredNodeError:
-            if self._repo.ui.config("censor", "policy", "abort") == "ignore":
+            if self._repo.ui.config("censor", "policy") == "ignore":
                 return ""
             raise error.Abort(_("censored node: %s") % short(self._filenode),
                              hint=_("set censor.policy to ignore errors"))