[PATCH] The reuse-ra-session branch: optimize RA session usage in merge code
From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Fri, 6 Feb 2015 15:53:40 +0300
Hi,
Automatic merge creates minimum 8 connection using code in trunk. The
The attached patch for reuse-ra-session branch reworks merge.c a bit
I'm pretty sure about the patch itself. But may be proposed changes
[[[
* subversion/libsvn_client/merge.c
(ensure_ra_session_url): Remove now unused function.
(do_merge): Remove SRC_SESSION argument and code to save/restore session
(merge_cousins_and_supplement_mergeinfo): Remove URL1_RA_SESSION and
(merge_locked): Remove SESSPOOL and release RA session early. Pass NULL
(merge_reintegrate_locked): Release temporary RA sessions early.
(merge_peg_locked): Remove SESSPOOL and release RA session early.
(do_automatic_merge_locked): Release RIGHT_RA_SESSION early. Pass NULL
-- Ivan Zhakov CTO | VisualSVN | http://www.visualsvn.com
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.