diff svnwrap/svn_swig_wrapper.py @ 51:fd5aadd552c8

Catch other varieties of the server not having replay.
author Shun-ichi GOTO <shunichi.goto@gmail.com>
date Sat, 01 Nov 2008 13:05:56 -0500
parents 80b923ab242b
children 430af23bef4a
line wrap: on
line diff
--- a/svnwrap/svn_swig_wrapper.py
+++ b/svnwrap/svn_swig_wrapper.py
@@ -337,7 +337,9 @@ class SubversionRepo(object):
         except core.SubversionException, e:
             # can I depend on this number being constant?
             if (e.message == "Server doesn't support the replay command"
-                or e.apr_err == 170003):
+                or e.apr_err == 170003 
+                or e.message == 'The requested report is unknown.'
+                or e.apr_err == 200007):
                 raise SubversionRepoCanNotReplay, ('This Subversion server '
                    'is older than 1.4.0, and cannot satisfy replay requests.')
             else: