mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
Fix hg checkupdates
This commit is contained in:
parent
4233d0d15f
commit
b4293fb9d6
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user