hgext/censor.py
changeset 43434 bec734015b70
parent 43077 687b865b95ad
child 48118 5105a9975407
equal deleted inserted replaced
43433:13b8097dccbf 43434:bec734015b70
    21 data needs to be materialized. Some commands, like ``hg cat``/``hg revert``,
    21 data needs to be materialized. Some commands, like ``hg cat``/``hg revert``,
    22 simply fail when asked to produce censored data. Others, like ``hg verify`` and
    22 simply fail when asked to produce censored data. Others, like ``hg verify`` and
    23 ``hg update``, must be capable of tolerating censored data to continue to
    23 ``hg update``, must be capable of tolerating censored data to continue to
    24 function in a meaningful way. Such commands only tolerate censored file
    24 function in a meaningful way. Such commands only tolerate censored file
    25 revisions if they are allowed by the "censor.policy=ignore" config option.
    25 revisions if they are allowed by the "censor.policy=ignore" config option.
       
    26 
       
    27 A few informative commands such as ``hg grep`` will unconditionally
       
    28 ignore censored data and merely report that it was encountered.
    26 """
    29 """
    27 
    30 
    28 from __future__ import absolute_import
    31 from __future__ import absolute_import
    29 
    32 
    30 from mercurial.i18n import _
    33 from mercurial.i18n import _