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

Re: svn commit: r15290 - trunk/subversion/libsvn_repos

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-07-07 23:55:33 CEST

sussman@tigris.org writes:

> Author: sussman
> Date: Thu Jul 7 14:25:59 2005
> New Revision: 15290
>
> Modified:
> trunk/subversion/libsvn_repos/fs-wrap.c
>
> Log:
> Hooks bugfix: if lock exists and --force not passed, don't call 'pre-(un)lock'.
>
> * subversion/libsvn_repos/fs-wrap.c
> (svn_repos_fs_lock, svn_repos_fs_unlock): if --force wasn't passed
> and a lock already exists, then bail out early; don't bother to
> call 'pre-lock', 'pre-unlock', or the fs (un)locking functions.

Aside from being a race, it also breaks the locking regression tests
since unlock no longer works.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 7 23:59:40 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.