Re: svn_fs_lock multiple paths
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Fri, 7 Feb 2014 11:55:26 +0000 (GMT)
Philip Martin wrote:
Just to throw in an opinion on this question... *some* code somewhere should avoid locking the same canonical path more than once, but I think the responsibility for that should be at a higher level. You wouldn't try to make this function detect the caller calling it more than once with the same path, so don't bother trying to detect if the caller specifies the same path more than once in a single call. That's my way of looking at it.
I don't know why the FS API allows non-canonical paths in the first place but (assuming the whole FS API is fairly consistent about this, which I haven't checked) I suggest we leave consideration of requiring canonical paths as a separate issue for the whole API.
- Julian
> The repos layer runs the pre-lock hooks on each path so whatever the FS
|
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.