mercurial/wireproto.py
changeset 34062 6c6169f71b8d
parent 33806 dedab036215d
child 34097 f7d41b85bbf6
--- a/mercurial/wireproto.py	Fri Sep 01 16:44:30 2017 -0700
+++ b/mercurial/wireproto.py	Fri Sep 01 14:00:13 2017 -0700
@@ -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):