D10234: revlog: convert an Abort message to bytes
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Thu Mar 18 22:58:03 UTC 2021
mharbison72 created this revision.
Herald added a reviewer: indygreg.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
Flagged by pytype.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D10234
AFFECTED FILES
mercurial/revlog.py
CHANGE DETAILS
diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -3250,7 +3250,7 @@
# rewriting entries that already have sidedata is not
# supported yet, because it introduces garbage data in the
# revlog.
- msg = "Rewriting existing sidedata is not supported yet"
+ msg = b"Rewriting existing sidedata is not supported yet"
raise error.Abort(msg)
entry = entry[:8]
entry += (current_offset, len(serialized_sidedata))
To: mharbison72, indygreg, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list