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

Re: grave error in documentation

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-04-05 20:45:04 CEST

On 4/5/07, Jeff Smith <jsmith@robotronics.com> wrote:
> I see a grave error in the svnbook, see:
> http://svnbook.red-bean.com/nightly/en/svn.branchmerge.commonuses.html#svn.branchmerge.commonuses.resurrect
>
> It says, "you've spotted that this file was deleted in revision 808.
> Therefore, the last version of the file to exist was in the revision
> right before that. Conclusion: you want to resurrect the
> path /calc/trunk/real.c from revision 807"
>
> As it mentions briefly, the two identifying indexes to pinpoint an
> object are the revision and the path. Why, then, does the example say
> we can assume that just because "real.c" was deleted in rev 808, that
> it must exist in rev 807 ? Apparently that is incorrect.

Why is that incorrect?

The delete action was committed at revision 808. The file can only be
deleted if it exists (you can't delete something that isn't there)
before the delete happens, so at the revision immediately before the
delete action (which would be 807), it is impossible for the file to
not exist.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 5 20:45:27 2007

This is an archived mail posted to the Subversion Users mailing list.