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

Re: Locking non-existent paths. Time to discuss.

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-03-17 17:46:42 CET

Ben Collins-Sussman wrote:
> On Mar 17, 2005, at 3:05 AM, C. Michael Pilato wrote:
>>>
>>> What *is* needed is the ability to LOCK an unmapped resource. However,
>>> it's completely sufficient to implement this by creating an empty
>>> placew holder resource.
>>
>> Well, that's certainly going to make useless a bunch of work I was
>> moments away from committing. :-(
>>
>
> Ok, then we have a new strategy!
>
> 1. make svn_fs_lock and svn_fs_attach_lock refuse to create locks on
> nonexistent resources. This is a 2-line change to the libsvn_fs
> 'switching' routine.
>
> 2. make mod_dav_svn check for a path's existence when creating a lock.
> If it doesn't exist, do an autoversioning commit of a 0-byte file on
> the spot.

Eeeek!

I admit to not having followed this thread very closely, but the above
proposal seems truly disgusting to me.

/me goes off to read history, in order to be able to effectively enter this
discussion.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 17 17:48:16 2005

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.