[Updated] D10896: revlog: rewrite `censors.py` to `rewrite.py`
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Thu Jul 1 10:21:33 UTC 2021
Closed by commit rHGbc8536e09a20: revlog: rewrite `censors.py` to `rewrite.py` (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10896?vs=28675&id=28707
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10896/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10896
AFFECTED FILES
mercurial/revlog.py
mercurial/revlogutils/censor.py
mercurial/revlogutils/rewrite.py
CHANGE DETAILS
diff --git a/mercurial/revlogutils/censor.py b/mercurial/revlogutils/rewrite.py
rename from mercurial/revlogutils/censor.py
rename to mercurial/revlogutils/rewrite.py
diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -81,13 +81,13 @@
util as interfaceutil,
)
from .revlogutils import (
- censor,
deltas as deltautil,
docket as docketutil,
flagutil,
nodemap as nodemaputil,
randomaccessfile,
revlogv0,
+ rewrite,
sidedata as sidedatautil,
)
from .utils import (
@@ -3075,9 +3075,9 @@
% self._format_version
)
elif self._format_version == REVLOGV1:
- censor.v1_censor(self, tr, censornode, tombstone)
+ rewrite.v1_censor(self, tr, censornode, tombstone)
else:
- censor.v2_censor(self, tr, censornode, tombstone)
+ rewrite.v2_censor(self, tr, censornode, tombstone)
def verifyintegrity(self, state):
"""Verifies the integrity of the revlog.
To: marmoute, indygreg, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210701/bb58ea0a/attachment-0002.html>
More information about the Mercurial-patches
mailing list