Show More
@@ -24,10 +24,11 simply fail when asked to produce censor | |||||
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 | As having a censored version in a checkout is impractical. The current head |
|
25 | As having a censored version in a checkout is impractical. The current head | |
26 | revisions of the repository are checked. If the revision to be censored is in |
|
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 | `censor.policy` | |
30 | ignore censored data and merely report that it was encountered. |
|
31 | :config-doc:`censor.policy` | |
31 | """ |
|
32 | """ | |
32 |
|
33 | |||
33 |
|
34 |
@@ -65,7 +65,13 default = "" | |||||
65 | section = "censor" |
|
65 | section = "censor" | |
66 | name = "policy" |
|
66 | name = "policy" | |
67 | default = "abort" |
|
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 | [[items]] |
|
76 | [[items]] | |
71 | section = "chgserver" |
|
77 | section = "chgserver" |
@@ -418,6 +418,12 Supported arguments: | |||||
418 | If no suitable authentication entry is found, the user is prompted |
|
418 | If no suitable authentication entry is found, the user is prompted | |
419 | for credentials as usual if required by the remote. |
|
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 | ``cmdserver`` |
|
427 | ``cmdserver`` | |
422 | ------------- |
|
428 | ------------- | |
423 |
|
429 |
General Comments 0
You need to be logged in to leave comments.
Login now