From patchwork Sun Sep 3 14:20:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D608: wireproto: do not abort after successful lookup From: phabricator X-Patchwork-Id: 23637 Message-Id: <59937410f00f22a40856335804ad9a69@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Sun, 3 Sep 2017 14:20:31 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHG6c6169f71b8d: wireproto: do not abort after successful lookup (authored by spectral). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D608?vs=1560&id=1588 REVISION DETAIL https://phab.mercurial-scm.org/D608 AFFECTED FILES mercurial/wireproto.py CHANGE DETAILS To: spectral, #hg-reviewers, quark Cc: quark, mercurial-devel diff --git a/mercurial/wireproto.py b/mercurial/wireproto.py --- a/mercurial/wireproto.py +++ b/mercurial/wireproto.py @@ -235,7 +235,8 @@ success, data = d[:-1].split(" ", 1) if int(success): yield bin(data) - self._abort(error.RepoError(data)) + else: + self._abort(error.RepoError(data)) @batchable def heads(self):