chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b51aff
)
Be less vague about svn errors
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Wed, 22 May 2013 09:15:57 +0000
(10:15 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Wed, 22 May 2013 09:18:10 +0000
(10:18 +0100)
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
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 8f57d6e2d948de7f48b3be7eb803ea8d054c71fc..1239767fdda0c8192aff44a9154fe18ce5878370 100644
(file)
--- 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: