On Tue, 2003-07-15 at 18:16, Branko Èibej wrote:
> I finally figured out why _all_ python tests are failing on HP-UX. It's
> issue 688 again, but this time in "svn co". Hey, I heard a funny one the
> other day:
>
> Q: Why is "svn co" like "svn diff URL URL"?
> A: Because both open TWO sessions to the repository.
>
> Yes, imagine that -- svn_client_checkout opens an RA session, then calls
> svn_client_update, which opens an RA session...
>
> Wish I could bash someone on the nose for this one... :-/
Ah, you noticed it too. One session to get the current head revision in
order to initialize the wc, and another to perform the update operation.
You might be able to get the HPUX tests going by arranging to close the
first session before starting the second. But that would still be a
rather inefficient use of server resources. Actually fixing the problem
requires some thought, like maybe making svn_client__update_internal
accept an optional ra baton.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 16 02:12:33 2003