mercurial/revlogutils/censor.py
changeset 47392 8089d0fa8400
parent 47391 33d626910374
child 47457 f8330a3fc39f
--- a/mercurial/revlogutils/censor.py	Sat May 29 00:11:56 2021 +0200
+++ b/mercurial/revlogutils/censor.py	Fri May 21 20:08:11 2021 +0200
@@ -29,11 +29,6 @@
     censorrev = rl.rev(censornode)
     tombstone = storageutil.packmeta({b'censored': tombstone}, b'')
 
-    if len(tombstone) > rl.rawsize(censorrev):
-        raise error.Abort(
-            _(b'censor tombstone must be no longer than censored data')
-        )
-
     # Rewriting the revlog in place is hard. Our strategy for censoring is
     # to create a new revlog, copy all revisions to it, then replace the
     # revlogs on transaction close.