# HG changeset patch # User Shun-ichi GOTO # Date 1225562756 18000 # Node ID fd5aadd552c80705843a1af5508a865503760dfc # Parent 80b923ab242b3266ea193820e76701bf62c40d37 Catch other varieties of the server not having replay. diff --git a/svnwrap/svn_swig_wrapper.py b/svnwrap/svn_swig_wrapper.py --- 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: