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

Re: [locking] out-of-dateness checking during lock

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-12-04 16:09:08 CET

On Sat, 2004-12-04 at 08:28, Peter N. Lundblad wrote:
> The current RA API lock function doesn't allow the client to provide a
> revision number. We can ask the server for last committed revision of the
> path, but that wouldn't atomic. Maybe someone has a plan for how to deal
> with this. sussman? fitz?

Get the lock.

Then check and make sure you have the most recent version.

If you don't, error out and release the lock.

You could put this check into the server, but I'm not sure it's a great
idea. (In particular, I'm not sure how you'd do it over DAV.)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Dec 4 16:12:29 2004

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.