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

Re: working copy corruption when network connection lost

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-01-05 16:21:49 CET

Philip Martin <philip@codematters.co.uk> writes:
>
> That said I don't really see what the ref_count achieves. It goes up
> when subdirectories or files are opened, but these will be closed and
> the ref_count decremented before the directory is closed. Is there
> ever a case when close_directory calls decrement_ref_count and the
> ref_count does not equal 1? Something to do with postfix text deltas
> perhaps?

If the ref_count hits zero, it's okay to free the subpool that holds a
directory baton. As a result, with postfix textdeltas, no directory
batons are *ever* freed until we get those final close_file() calls at
the end of the drive.

And you fixed fs-test 33! Thank you so much!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:54 2006

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.