changeset 24890:cba84b06b702 stable

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.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Fri, 01 May 2015 22:19:20 +0900
parents ab9390165429
children be4915009b09
files hgext/censor.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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