1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-02 09:10:11 +02:00

fix hg pull, was stupid mistake in 7bba20c662

fdroid/fdroidserver!396
This commit is contained in:
Hans-Christoph Steiner 2017-12-05 16:49:28 +01:00
parent bb643eddcf
commit c33a71a945

View File

@ -1088,7 +1088,7 @@ class vcs_hg(vcs):
raise VCSException("Unexpected output from hg status -uS: " + line)
FDroidPopen(['rm', '-rf', line[2:]], cwd=self.local, output=False)
if not self.refreshed:
p = FDroidPopen(['hg', 'pull'], '--ssh', 'false', cwd=self.local, output=False)
p = FDroidPopen(['hg', 'pull', '--ssh', 'false'], cwd=self.local, output=False)
if p.returncode != 0:
raise VCSException("Hg pull failed", p.output)
self.refreshed = True