comparison hgext/censor.py @ 24880:5e111acc1170 stable

censor: remove meaningless explanation about .hgcensored There is no code path handling ".hgcensored" in Mercurial source tree. This meaningless explanation may make users misunderstand about censor.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Thu, 30 Apr 2015 03:39:39 +0900
parents 1bcfecbbf569
children cba84b06b702
comparison
equal deleted inserted replaced
24879:b3142ea2a0d4 24880:5e111acc1170
14 Typical uses for censor are due to security or legal requirements, including:: 14 Typical uses for censor are due to security or legal requirements, including::
15 15
16 * Passwords, private keys, crytographic material 16 * Passwords, private keys, crytographic material
17 * Licensed data/code/libraries for which the license has expired 17 * Licensed data/code/libraries for which the license has expired
18 * Personally Identifiable Information or other private data 18 * Personally Identifiable Information or other private data
19
20 Censored file revisions are listed in a tracked file called .hgcensored stored
21 in the repository root. The censor command adds an entry to the .hgcensored file
22 in the working directory and commits it (much like ``hg tag`` and .hgtags). The
23 censored file data is then replaced with a pointer to the new commit, enabling
24 verification.
25 19
26 Censored nodes can interrupt mercurial's typical operation whenever the excised 20 Censored nodes can interrupt mercurial's typical operation whenever the excised
27 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``,
28 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
29 ``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