From b4293fb9d6b72864875aea888961f0118bf7aa00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Mon, 21 Oct 2013 17:00:42 +0200 Subject: [PATCH] Fix hg checkupdates --- fdroidserver/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 56a33beb..75f70156 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -348,7 +348,8 @@ class vcs_hg(vcs): if subprocess.call(['hg', 'clone', self.remote, self.local]) !=0: raise VCSException("Hg clone failed") else: - if subprocess.call('hg status -u | xargs rm -rf', cwd=self.local) != 0: + if subprocess.call('hg status -u | xargs rm -rf', + cwd=self.local, shell=True) != 0: raise VCSException("Hg clean failed") if not self.refreshed: if subprocess.call(['hg', 'pull'],