Re: svn commit: r13393 - in branches/locking/subversion: include libsvn_client libsvn_wc
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-03-16 13:59:18 CET
Peter N. Lundblad wrote:
"svn_path_get_longest_ancestor" already makes a copy of the URL for each call;
> which seems unneccasry to me when we can just truncate the path.
Do you mean it would otherwise require another deep copy of the new string to
rb->ancestor = svn_path_get_longest_ancestor (url, rb->ancestor, rb->pool);
This causes the new string to be allocated in the correct pool in the first place.
However, this would mean that any temporary allocations performed within
- Julian
---------------------------------------------------------------------
|
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.