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

Re: [Issue 533] New - implement reserved checkouts

From: <brane_at_xbc.nu>
Date: 2002-08-02 18:07:57 CEST

Karl Fogel wrote:

>brane@xbc.nu writes:
>
>
>>I think it's a total waste of time to hack up some sort of locking, only to
>>throw it away when we do it for real. Any locking scheme would have to be
>>understood by the filesystem -- a locked item should not be added to a commit
>>txn -- and that support would be the major part of the effort, and
>>must be done correctly the first time.
>>
>>
>
>That locking should be understood at the libsvn_repos layer I totally
>agree. But should it be all the way down in libsvn_fs?
>
>Maybe you wouldn't mind a pre-1.0 implementation so much if it avoided
>touching the fs itself, Brane...
>
>

Heh, maybe yes, but I can't imagine such an imlementation. The
filesystem must know about locks, how else do you prevent adding a
locked object to a commit txn? Of course, you could put an explicit
check outsude the FS, but that seems like an excruciatingly painful hack.

I can handle pain, but not that much pain. :-)

-- 
Brane ─îibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 2 18:08:43 2002

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.