Blob Blame History Raw
From ec84bb79797c30863bf0c584c3d27a38e0d93410 Mon Sep 17 00:00:00 2001
From: Mike Hommey <mh@glandium.org>
Date: Mon, 6 Nov 2017 07:43:39 +0900
Subject: [PATCH 3/3] Adapt localpeer to sshpeer changes in mercurial 4.4

Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
 cinnabar/hg/repo.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cinnabar/hg/repo.py b/cinnabar/hg/repo.py
index b8feb5e..7770975 100644
--- a/cinnabar/hg/repo.py
+++ b/cinnabar/hg/repo.py
@@ -780,9 +780,10 @@ class Remote(object):
 if changegroup:
     class localpeer(sshpeer):
         def __init__(self, ui, path):
-            self._url = self.path = path
-            self.ui = ui
+            self._url = self.path = self._path = path
+            self.ui = self._ui = ui
             self.pipeo = self.pipei = self.pipee = None
+            self._pipeo = self._pipei = self._pipee = None
 
             shellquote = util.shellquote
             util.shellquote = lambda x: x
-- 
2.14.3