I (Julian Foad) wrote:
I had to tweak the ctypes-python tests to get them to run properly. The
pool that the repo's opened in needs to be cleared between tests, to
ensure the rep-cache DB is closed and re-opened when the repo is deleted
and re-created at the same path. Without that, most of the tests failed
to initialize, saying "E160004: Youngest revision is r1, but rep-cache
It turns out the Noorul had posted a patch that fixes that problem
<http://svn.haxx.se/dev/archive-2011-02/0702.shtml>, but the email
didn't say what it was fixing and nobody replied. I'll commit a fix for
this shortly, along the same lines but calling the new methods 'close'
instead of 'clear_pool'.
Received on 2011-08-08 20:16:35 CEST