From 8d85c7c2c3f7574d727350aeb53c22ac20874df8 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Wed, 22 May 2013 10:15:57 +0100 Subject: [PATCH] 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. --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 8f57d6e2..1239767f 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -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: