[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 00:33:28 CET

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

> > This fix shouldn't be too hard; close_directory() just needs to
> > figure out if the directory was either added or opened. If added,
> > make a link in the parent. And of course, don't forget to remove the
> > parental linkage in add_directory().
>
> Yes, this seems to work, although decrement_ref_count turned out to be
> where I made the link to the parent.

Why in decrement_ref_count, and not close_directory? Just curious.
decrement_ref_count is really only supposed be about knowing when it's
okay to free a pool, I thought.

> This could be fixed by making svn_client_status not descend into
> unversioned directories.

Yeah, this is a different issue. Why does status descend into
unversioned directories? Seems silly to me. Maybe cmpilato knows,
since he made this change recently.

---------------------------------------------------------------------
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.