From df8d7b929d24b805ebc9ee2bf17e0dcf7c7c53fb Mon Sep 17 00:00:00 2001 From: Henning Schild Date: Wed, 14 Aug 2019 10:41:49 +0200 Subject: [PATCH] repos: Fix up the basic mercurial support The interface cmd prototypes got out of sync so mercurial stopped working. Align with git again to fix that. Signed-off-by: Henning Schild Signed-off-by: Jan Kiszka --- kas/repos.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kas/repos.py b/kas/repos.py index 689be7b..215ff26 100644 --- a/kas/repos.py +++ b/kas/repos.py @@ -337,7 +337,7 @@ class MercurialRepo(RepoImpl): Provides the hg functionality for a Repo. """ - def clone_cmd(self, gitsrcdir, config): + def clone_cmd(self, srcdir): return ['hg', 'clone', self.effective_url, self.path] def contains_refspec_cmd(self): @@ -361,6 +361,5 @@ class MercurialRepo(RepoImpl): def apply_patches_quilt_cmd(self, path): raise NotImplementedError() - def set_remote_url_cmd(self, url): - # TODO + def set_remote_url_cmd(self): raise NotImplementedError()