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

Re: filesystem oops?

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-02-04 21:23:23 CET

On Mon, Feb 04, 2002 at 02:21:24PM -0600, Karl Fogel wrote:
>...
> Question: don't we have to check that a given predecessor ID actually
> exists anyway (i.e., there is a node for it in the fs?), once we think
> we've calculated that predecessor? Then there's no need for a special
> case, just decrement all the way to .0, inclusive, testing each one.
> If you don't find one at .0, that's fine -- no different than not
> finding a node at .1 or .2 or whatever.

Generally, we don't have to check. We *know* that ID exists. Sort of an
induction thing... if FOO.2 exists, then FOO.1 must exist.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
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:04 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.