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

Re: bug in recording fs 'changes'

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-02-11 18:50:45 CET

Ben Collins-Sussman <sussman@collab.net> writes:

> Philip is right, though. The following scenario is possible:
>
> 1. svn client: deletes a file in a txn
> 2. svn client: adds a directory by the same name
> 3. non-svn DAV client: locks ("reserves") an imaginary path under the
> dir
> 4. svn client: tries to commit
>
> svn_fs_commit_txn() needs to do a recursive lock-check below the added
> directory. Which I believe it does.

It makes no difference whether the added object is a file or a
directory, either will cause the same problem to the client with a
lock on an imaginary path under the added object. Thus added files
need to do the same recursive lock-check as added directories.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 11 18:52:19 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.