Skip navigation.

Lu cát

Action, Correction, Perfection !

Posts tagged with "svn"

SVN error svn: REPORT of '/repo/!svn/vcc/default': 200 OK (http://url.net)

Ok, first you must check the correct revision which is error. You can check by typing the commmand
$svnadmin verify /path/repo

then you can get sth on the screen like
"svn: Can't read length line in file '/data/repo/db/revs/1000" 

Second, you must need Python and this script fsfsverify.py. You can grab it here http://www.szakmeister.net/fsfsverify.tar.gz.

Be sure to backup your repo.

Then execute the script
$./fsfsverify.py -f /path/repo/db/revs/1000


Then rerun the script w/t the -f options.

Done.

SVN repos moving from Windows to Linux

,

Moving a system running SVN on Windows to Linux :

/Windows/
Use this script
to create a dump file. Requires python 2.4 on Windows. Use:
svn-backup-dumps.py Path:/repos Path:/


/*nix/
$mkdir repos ; svnadmin create --fs-type fsfs repos; svnadmin load repos < dumpfile.dmp


Last be sure to do fsck :

chown -R svn:svnusers /path/to/repos ; chmod -R g+w /path/to/repos/db/

December 2009
M T W T F S S
November 2009January 2010
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31