comparison svnwrap/svn_swig_wrapper.py @ 59:430af23bef4a

Performance fix for branches-from-tags in real replay, which is tied up with changes that fix problems when trunk is not the oldest branch. Also includes fixes for copying from a tag that we chose not to create (eg tagging a vendor branch) and includes tests for all of those things.
author Augie Fackler <durin42@gmail.com>
date Tue, 04 Nov 2008 16:38:16 -0600
parents fd5aadd552c8
children 2e30b59a9c19
comparison
equal deleted inserted replaced
58:a8b9c7e7c2ac 59:430af23bef4a
335 ra.replay(self.ra, revision, oldest_rev_i_have, True, e_ptr, 335 ra.replay(self.ra, revision, oldest_rev_i_have, True, e_ptr,
336 e_baton, self.pool) 336 e_baton, self.pool)
337 except core.SubversionException, e: 337 except core.SubversionException, e:
338 # can I depend on this number being constant? 338 # can I depend on this number being constant?
339 if (e.message == "Server doesn't support the replay command" 339 if (e.message == "Server doesn't support the replay command"
340 or e.apr_err == 170003 340 or e.apr_err == 170003
341 or e.message == 'The requested report is unknown.' 341 or e.message == 'The requested report is unknown.'
342 or e.apr_err == 200007): 342 or e.apr_err == 200007):
343 raise SubversionRepoCanNotReplay, ('This Subversion server ' 343 raise SubversionRepoCanNotReplay, ('This Subversion server '
344 'is older than 1.4.0, and cannot satisfy replay requests.') 344 'is older than 1.4.0, and cannot satisfy replay requests.')
345 else: 345 else: