censor: fix incorrect configuration name for ignoring error at censored file stable
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Fri, 01 May 2015 22:19:20 +0900
branchstable
changeset 24890 cba84b06b702
parent 24889 ab9390165429
child 24891 be4915009b09
censor: fix incorrect configuration name for ignoring error at censored file According to recent "filectx.data()" implementation, "censor.policy" should be configured as "ignore" to ignore error at censored file: "censor.allow" seems outdated name.
hgext/censor.py
--- a/hgext/censor.py	Thu Apr 30 17:50:50 2015 -0500
+++ b/hgext/censor.py	Fri May 01 22:19:20 2015 +0900
@@ -22,8 +22,7 @@
 simply fail when asked to produce censored data. Others, like ``hg verify`` and
 ``hg update``, must be capable of tolerating censored data to continue to
 function in a meaningful way. Such commands only tolerate censored file
-revisions if they are allowed by the policy specified by the "censor.allow"
-config option.
+revisions if they are allowed by the "censor.policy=ignore" config option.
 """
 
 from mercurial.node import short