chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4233d0d
)
Fix hg checkupdates
author
Daniel Martí
<mvdan@mvdan.cc>
Mon, 21 Oct 2013 15:00:42 +0000
(17:00 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Mon, 21 Oct 2013 15:00:42 +0000
(17:00 +0200)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 56a33bebab6cb1bd52ad9725a10f272a4d3b0a01..75f7015666a3f57fe3682542c31ba515a4d33dd8 100644
(file)
--- 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'],