Dear All,
I really love subversion and am starting to become dependent on it so I
thought it was a good idea to have backups of my repos. I hold them all
underneath a root of /svn, e.g. /svn/repoone /svn/repotwo etc.
If I run ./hot-backup.py /svn /tmp/testbac, for example, I get:
Beginning hot backup of '/svb'.
Traceback (most recent call last):
File "./hot-backup.py", line 97, in ?
youngest = string.strip(stdout_lines[0])
IndexError: list index out of range
Looking back over old posts it seems that some other users have
experienced the problem. I looked at line 97 in the script and found
that this does:
youngest = string.strip(stdout_lines[0])
which is fine in itself. However, this is coming from:
infile, outfile, errfile = os.popen3(svnlook + " youngest " + repo_dir)
which also appears fine. However, if I run svnlook youngest /svn I get:
svn: Can't open file '/svn/format': No such file or directory
where is this "format" coming from?
If I do an svnlook youngest /svn/testrepo it works fine but clearly this
means re-jigging the backup script every time a repo is created.
Does anyone have any ideas about this?
Many thanks,
Toby.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 3 21:45:07 2004