##// END OF EJS Templates
censor: document the censor.policy option (issue6909)...
marmoute -
r53123:cd72a88c default
parent child Browse files
Show More
@@ -24,10 +24,11 simply fail when asked to produce censor
24 24 function in a meaningful way. Such commands only tolerate censored file
25 25 As having a censored version in a checkout is impractical. The current head
26 26 revisions of the repository are checked. If the revision to be censored is in
27 any of them the command will abort.
27 any of them the command will abort. You can configure this behavior using the
28 following option:
28 29
29 A few informative commands such as ``hg grep`` will unconditionally
30 ignore censored data and merely report that it was encountered.
30 `censor.policy`
31 :config-doc:`censor.policy`
31 32 """
32 33
33 34
@@ -65,7 +65,13 default = ""
65 65 section = "censor"
66 66 name = "policy"
67 67 default = "abort"
68 experimental = true
68 documentation="""Control how to react when accessing censored content.
69 Accepted value: "abort", "ignore". Defaults to abort.
70
71 A few informative commands such as ``hg grep`` will unconditionally ignore
72 censored data and merely report that it was encountered.
73 """
74
69 75
70 76 [[items]]
71 77 section = "chgserver"
@@ -418,6 +418,12 Supported arguments:
418 418 If no suitable authentication entry is found, the user is prompted
419 419 for credentials as usual if required by the remote.
420 420
421 ``censor``
422 ----------
423
424 ``policy``
425 :config-doc:`censor.policy`
426
421 427 ``cmdserver``
422 428 -------------
423 429
General Comments 0
You need to be logged in to leave comments. Login now