Mercurial > public > mercurial-scm > hg
diff hgext/censor.py @ 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 | 5e111acc1170 |
children | 80c5b2666a96 |
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