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

Re: Ben, question about adm_ops.c:svn_wc_revert

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-01-25 22:00:41 CET

Greg Stein <gstein@lyra.org> writes:

> On Fri, Jan 25, 2002 at 09:33:41AM -0600, cmpilato@collab.net wrote:
> >...
> > Revert needs to reset the state flags for the thing it is reverting
> > (removing any scheduling and conflict markers, etc.). For directories,
> > the state is kept in two places.
> >
> > Let's say we are reverting A/D/G -- as 'svn revert A/D/G', not '(cd
> > A/D/G; svn revert)'. State for A/D/G is assumed to be stored in two
> > places:
> >
> > (1) In A/D/G's entries file, as schedule= and conflicted= on the
> > "svn:this_dir" entry.
> >
> > (2) In A/D's entries file, as the same items on the entry for the "G".
>
> Why is the schedule/conflicted stuff kept in both places? Seems like a
> potential for skew/incorrectness.

Our rule for the entries file has always been: for 'subdir' entries
(as opposed to 'this_dir' entries).... only show the entry's name and
flags. But don't show working revision, URL, etc.

The reason for this was traversal speed, IIRC. We don't want to open
up a new entries file just to see if some subdir entry is scheduled a
certain way.

---------------------------------------------------------------------
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:37:00 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.