Re: [PATCH] Speed up client by re-using RA session connections
From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Thu, 15 Sep 2011 16:23:05 +0400
On Thu, Sep 15, 2011 at 16:05, Julian Foad <julian.foad_at_wandisco.com> wrote:
Thanks for great discussion summary.
I still think that we need to implement explicit call function, to use
/* If PATH_OR_URL is a local path we can fetch the repos root locally. */
/* If PATH_OR_URL was a URL, we use the RA layer to look it up. */
SVN_ERR(svn_ra_get_repos_root2(ra_session, repos_root, result_pool));
And callers use pattern like this:
/* Determine the source's repository root URL. */
Creating subpools for each call to such function is not inconvenient,
-- Ivan ZhakovReceived on 2011-09-15 14:24:00 CEST
This is an archived mail posted to the Subversion Dev mailing list.