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

Re: tools/backup/hot-backup.py.in

From: Michael Price <mprice_at_atl.lmco.com>
Date: 2003-02-13 22:03:47 CET

Karl Fogel writes:
> Michael Price <mprice@atl.lmco.com> writes:
> > The script doesn't actually keep around that many backups. Instead, it
> > checks for a backup and if you happen to have one num_backups older then
> > it gets removed. If you don't happen to have one (which is often the
> > case) then nothing is removed.
>
> Does it work out if it always removes the backup from N backups ago,
> each time you run it, though?

It computes which backup to remove as "youngest - num_backups". That is
the broken part.

If I have the following revisions backed up:

  1
  8
  15
  22
  29
  29-1
  29-2
  29-3
  36
  43
  50

and num_backups is 5 each time it is run then all of these revisions
will still be there. Nothing gets removed unless youngest - num_backups
happens to be a revision that was backed up (which is never the case
here).

Or am I missing something? Is it actually working for you?

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 13 22:06:12 2003

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