From patchwork Tue Oct 20 19:33:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D9234: errors: remove unnecessary override of __bytes__ in RevlogError From: phabricator X-Patchwork-Id: 47500 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Tue, 20 Oct 2020 19:33:04 +0000 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 To: martinvonz, #hg-reviewers Cc: mercurial-patches, mercurial-devel 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):