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

Re: svn commit: r13308 - branches/locking/subversion/libsvn_fs_base

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-03-08 21:54:51 CET

Philip Martin <philip@codematters.co.uk> writes:

> This came up in a thread a while ago: I think you need to do a
> recursive check whenever an item is added, even if the item is a file.
> The reason is that it's possible to lock 'foo/bar' before 'foo'
> exists, so knowing that 'foo' is a file tells you nothing about locks
> under 'foo'.

If the parent of the added item is itself added then there is probably
no need to do a recursive check even if the item is a directory, the
recursive check on the parent should suffice.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 8 21:55:59 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.