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 <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Henning Schild 2019-08-14 10:41:49 +02:00 committed by Jan Kiszka
parent 66bd078e7f
commit df8d7b929d

View File

@ -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()