[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn_fs_lock multiple paths

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 06 Feb 2014 19:41:01 +0000

Philip Martin <philip.martin_at_wandisco.com> writes:

> The current behaviour is not very good. Since the low level svn_fs_lock
> only handles one path there is currently a post-lock for each path, so
> we need to return both the post-lock error and the lock token for each
> path.
>
> How should it work when we have an svn_fs_lock that locks multiple
> paths? Should we run the post-lock once per lock, or once per call?
> It's designed to be run once per call which is why the paths are
> supplied on stdin. If we run it once per call do we return any
> post-lock error repeatedly with each lock token?

Perhaps the servers should swallow/ignore any post-lock errors and not
return them to the client? Perhaps logging them on the server is
sufficient?

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2014-02-06 20:41:35 CET

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.