# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 2019-10-22 14:01:48 # Node ID bec734015b7035f7d948a031f52d42df663a7693 # Parent 13b8097dccbf8e7618a12cd20eaedde6fe4a5260 censor: document that some commands simply ignore censored data I can't see a benefit for hg grep to ever error out early when it encounters censored data. diff --git a/hgext/censor.py b/hgext/censor.py --- a/hgext/censor.py +++ b/hgext/censor.py @@ -23,6 +23,9 @@ simply fail when asked to produce censor ``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 "censor.policy=ignore" config option. + +A few informative commands such as ``hg grep`` will unconditionally +ignore censored data and merely report that it was encountered. """ from __future__ import absolute_import