You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andreas Mahel <an...@ch.ibm.com> on 2006/08/18 10:03:46 UTC

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

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