1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

vcs_svn reset back to shell=True

This commit is contained in:
Daniel Martí 2013-10-11 17:08:07 +02:00
parent d7900e3c4b
commit 603aa34114

View File

@ -305,7 +305,7 @@ class vcs_svn(vcs):
for svncommand in (
'svn revert -R .',
r"svn status | awk '/\?/ {print $2}' | xargs rm -rf"):
if subprocess.call(svncommand, cwd=self.local) != 0:
if subprocess.call(svncommand, cwd=self.local, shell=True) != 0:
raise VCSException("Svn reset ({0}) failed in {1}".format(svncommand, self.local))
if not self.refreshed:
if subprocess.call(['svn', 'update'] +