From 53960e37618ef8f2cd4b0f6fa411c95b0fb89160 Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Fri, 16 Mar 2012 15:54:33 +0100 Subject: [PATCH] remote-hg: adjust to hg 1.9 hg 1.0 changed the signature of hg.clone(). Adjust to it. A real fix would need to check the hg version or try/catch. --- git_remote_helpers/hg/non_local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_remote_helpers/hg/non_local.py b/git_remote_helpers/hg/non_local.py index 715bd68cd4..abb7908da0 100644 --- a/git_remote_helpers/hg/non_local.py +++ b/git_remote_helpers/hg/non_local.py @@ -23,7 +23,7 @@ class NonLocalHg(object): from_path = self.repo.path self.repo.ui.setconfig('ui', 'quiet', "true") - self.hg.clone(self.repo.ui, from_path, path, update=False, pull=True) + self.hg.clone(self.repo.ui, {}, from_path, path, update=False, pull=True) return path -- 2.11.4.GIT