Thanks for responding to my question. I changed the paths for svnlook.exe and
svnadmin.exe to their absolute paths. I used the following command,
"hot-backup.py --help", to check the program. I got the following error
----------------------------------------------------------------------------
L:\CONTROLS\Kamran\Subversion\BackupScript>hot-backup.py --help
File "L:\CONTROLS\Kamran\Subversion\BackupScript\hot-backup.py", line 73
chmod_tree(dirname, 0666, 0666)
^
SyntaxError: invalid token
----------------------------------------------------------------------------
I do not know why it is not just printing the Usage information and exit. I
tried backing up the repository, I got the same error.
Thanks,
Kamran
-----Original Message-----
From: Stephen Butler [mailto:[email protected]]
Sent: Wednesday, February 22, 2012 12:53 AM
To: Nico Kadel-Garcia
Cc: Salari, Kamran; [email protected] users
Subject: Re: hot-backup.py
On Feb 22, 2012, at 3:43 , Nico Kadel-Garcia wrote:
> On Tue, Feb 21, 2012 at 7:27 PM, Salari, Kamran <[email protected]>
> wrote:
> Hi everyone,
>
>
> I am new to Subversion, and I am using TortoiseSVN-1.7.3 and
> Slik-Subversion-1.7.2 on my XP system (Service Pack 3). I would like to know
> if there is a Windows version of "hot-backup.py" which I can use. It
> appears the script in "tools\backup" is written for a Unix environment.
Actually, the hot-backup.py script is cross-platform. It uses Python's
subprocess module, which works fine on Windows (it's used in the
Subversion test suite). I just tested the script again on Windows 7, just
to be sure.
Enter the absolute paths to svnlook.exe and svnadmin.exe at the top
of the script, e.g.,
svnlook = r"C:\Program Files\Subversion\bin\svnlook.exe"
and you're all set.
Cheers,
Steve
The information contained in this message may be confidential and legally
protected under applicable law. The message is intended solely for the
addressee(s). If you are not the intended recipient, you are hereby notified
that any use, forwarding, dissemination, or reproduction of this message is
strictly prohibited and may be unlawful. If you are not the intended recipient,
please contact the sender by return e-mail and destroy all copies of the
original message.