Wipe a SVN repo and update Trac
If you want to wipe a svn repo - if it got corrupt or if something happened, AND you want to keep trac etc. you need to do the following:
rm /var/lib/svn/projectname
/var/lib/svn/projectname
//chown and reset permissions as covered previously
Trac then will give the following error: "The 'repository_dir' has changed, a 'trac-admin resync' operation is needed". Here is what to do:
trac-admin /home/username/projectname resync
Hope that works ok for you. Info: http://trac.edgewall.org/ticket/4204
No comments:
Post a Comment