Mercurial > hg
diff tests/test-censor.t @ 51268:622f00b350be
censor: add a command flag to skip the head checks
In some case we spend hours of time checking the heads to censors a simple file
is not a good behavior. Especially when censors is used to removed corrupted
content.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 01 Dec 2023 22:44:33 +0100 |
parents | 195ab99cf791 |
children | db121ddd171e |
line wrap: on
line diff
--- a/tests/test-censor.t Fri Dec 01 22:33:35 2023 +0100 +++ b/tests/test-censor.t Fri Dec 01 22:44:33 2023 +0100 @@ -511,6 +511,10 @@ (run 'hg update' to get a working copy) $ hg cat -r 0 target | head -n 10 +Can skip the head checking steps + + $ hg --config extensions.censor= censor -r 0 --no-check-heads target + #if revlogv2 Testing feature that does not work in revlog v1