[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 21:07:43 CEST

On 4/5/07, Stephen Colson <scolson@macx.org> wrote:
> My understanding is that a file is only stored in the last revision
> it was changed for. If the file has not been modified since rev 2, it
> would not exist in revision 807 but would be carried forward as
> unchanged since 2.

If you ask the repository to give you file.txt from revision 807, it
will give you whatever the contents of that file are at that point in
time.

If no changes have been made since revision 2, then file.txt@807 will
be identical to file.txt@2

Each revision is stored as the difference between the current revision
and the previous revision, but at every revision, you can retrieve
every file that existed at that time.

Remember that revision numbers in Subversion are really just timestamps.

> This is the same concept behind the fact that we have to back up
> *every* revision file, and not just the most recent ones, if we want
> to be able to have a backup that will work.

You need to back them all up so that you can reconstruct all the
activity - each revision is built upon the previous one (ignoring
skip-deltas).

> On Apr 5, 2007, at 11:45 AM, Andy Levy apparently wrote:
> > 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 5 21:08:13 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.