mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
Be less vague about svn errors
There can be multiple svn repos in use (e.g. srclibs) so it's helpful to report the source of a failure.
This commit is contained in:
parent
3b51aff818
commit
8d85c7c2c3
@ -278,7 +278,7 @@ class vcs_svn(vcs):
|
||||
r"svn status | awk '/\?/ {print $2}' | xargs rm -rf"):
|
||||
if subprocess.call(svncommand, cwd=self.local,
|
||||
shell=True) != 0:
|
||||
raise VCSException("Svn reset failed")
|
||||
raise VCSException("Svn reset ({0}) failed in {1}".format(svncommand, self.local))
|
||||
if not self.refreshed:
|
||||
if subprocess.call(['svn', 'update'] +
|
||||
self.userargs(), cwd=self.local) != 0:
|
||||
|
Loading…
Reference in New Issue
Block a user