[Request] [+ ] D9234: errors: remove unnecessary override of __bytes__ in RevlogError
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Tue Oct 20 19:33:04 UTC 2020
martinvonz created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
StorageError already provides the same definition.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D9234
AFFECTED FILES
mercurial/error.py
CHANGE DETAILS
diff --git a/mercurial/error.py b/mercurial/error.py
--- a/mercurial/error.py
+++ b/mercurial/error.py
@@ -48,7 +48,7 @@
class RevlogError(StorageError):
- __bytes__ = _tobytes
+ pass
class SidedataHashError(RevlogError):
To: martinvonz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20201020/9f4ac50c/attachment.html>
More information about the Mercurial-patches
mailing list