Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
51267:195ab99cf791 | 51268:622f00b350be |
---|---|
509 added 1 changesets with 2 changes to 2 files | 509 added 1 changesets with 2 changes to 2 files |
510 new changesets e97f55b2665a (1 drafts) | 510 new changesets e97f55b2665a (1 drafts) |
511 (run 'hg update' to get a working copy) | 511 (run 'hg update' to get a working copy) |
512 $ hg cat -r 0 target | head -n 10 | 512 $ hg cat -r 0 target | head -n 10 |
513 | 513 |
514 Can skip the head checking steps | |
515 | |
516 $ hg --config extensions.censor= censor -r 0 --no-check-heads target | |
517 | |
514 #if revlogv2 | 518 #if revlogv2 |
515 | 519 |
516 Testing feature that does not work in revlog v1 | 520 Testing feature that does not work in revlog v1 |
517 =============================================== | 521 =============================================== |
518 | 522 |