mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 07:52:35 +03:00
Fix hg checkupdates
This commit is contained in:
parent
4233d0d15f
commit
b4293fb9d6
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue