You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Stein <gs...@lyra.org> on 2002/07/17 00:06:28 UTC

Re: svn commit: rev 2554 - branches/issue-749-dev/subversion/include branches/issue-749-dev/subversion/libsvn_wc branches/issue-749-dev/subversion/libsvn_client branches/issue-749-dev/subversion/tests/clients/cmdline

On Tue, Jul 16, 2002 at 06:12:18PM -0500, philip@tigris.org wrote:
>...
> This got more complicated than I would have liked. I am still
> concerned about which directories get locked, and in which order they
> get locked.

What if you have a "WC session" object? That can store a hash of paths to
directory lock context objects. That way, you don't need to nest the things,
and you can (effectively) use random-access directory locking [instead of
strict parent-then-child operations].

It would introduce another open/close pair for the session, and then the
adm_open() call would take a session object.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org