[Bug 6909] New: censor.policy configuration knob undocumented

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Fri Aug 30 21:44:46 UTC 2024


https://bz.mercurial-scm.org/show_bug.cgi?id=6909

            Bug ID: 6909
           Summary: censor.policy configuration knob undocumented
           Product: Mercurial
           Version: 6.7.4
          Hardware: PC
                OS: NetBSD
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: censor
          Assignee: bugzilla at mercurial-scm.org
          Reporter: mercurial-bugzilla at campbell.mumble.net
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

$ hg update 3
abort: censored node: 0af0aca29d95
(set censor.policy to ignore errors)

I searched the following places for any documentation on the censor.policy knob
and what values it can take on:

- hg help censor
- hg help --verbose censor
- hg help -e censor
- hg help --verbose -e censor
- hg help config
- hg help --verbose config

I also checked the following wiki pages:

- https://wiki.mercurial-scm.org/UsingExtensions
- https://wiki.mercurial-scm.org/CensorExtension (doesn't exist)
- https://wiki.mercurial-scm.org/CensorPlan

None of these seemed to document the censor.policy knob.

Here are the options I'm hoping to be able to do:

- Make `hg update' fail without any effects on the working tree.
- Make `hg update' (maybe warn but) succeed with the tombstone text.
- Make `hg update' warn but succeed with the original text, if it is still
available locally, or fail without any effects on the working tree, if it is
not.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list