[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

error message in hot-backup.py

From: Peter Sabaini <peter_at_sabaini.at>
Date: 2004-04-20 15:39:49 CEST

Hi all,

Heres a small patch that gives a little more descriptive error message
for the hot-backup.py script if "svnlook youngest" fails (eg. due to
mixed up permissions), would be glad if it could be included in the


  --- snip ---

--- hot-backup.py-orig 2004-04-08 06:56:48.000000000 +0200
+++ hot-backup.py 2004-04-20 15:29:55.000000000 +0200
@@ -94,6 +94,9 @@

+if stderr_lines and not stdout_lines: # an error has occured
+ sys.exit("Error getting youngest revision: %s" % stderr_lines)
  youngest = string.strip(stdout_lines[0])
  print "Youngest revision is", youngest

Received on Tue Apr 20 15:42:20 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.