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

hot-backup.py fails on removing old backups on Windows

From: Andreas Mahel <andreas.mahel_at_ch.ibm.com>
Date: 2006-08-18 12:03:46 CEST

Hi,

I have subversion (1.3.2) running on a Windows 2000 server, and just found
that the hot-backup.py script fails if the maximum number of backups is
exceeded.

Well, actually the hotcopy itself works fine, but when hot-backup.py wants
to remove the older backup versions, the remove is not possible. This is
not really a problem currently, as the repos aren't that big, and I can
clean up manually from time to time. However, it's annoying, and not really
the way I'd expect it to be ;-)

The reason for this behaviour is that the "format" files in the repository
are set to readonly, and a regular delete of readonly files will raise an
error in Windows.
Actually, this hasn't been a problem with the svn version I used before
(1.2.something, I believe).

Now unfortunately I'm not a Python specialist, so I can't come up with a
patch...

Is this problem already known and being addressed?
If not, what can I do that it will be (in addition to posting this)?
Or do I just have to install a different version of Python (I've tried
v2.3.3 and v2.4.3)?
Any other solution?

Best regards,

Andreas Mahel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 18 12:05:07 2006

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.