-
Notifications
You must be signed in to change notification settings - Fork 8
ImportingCVSrepository
Andre Bossert edited this page Apr 14, 2015
·
1 revision
##Introduction## I've imported the CVS repository from sourceforge.
##Details##
- First change to empty dir and load CVS repo from sourceforge
cd /root/logfile
rsync -av logfiletools.cvs.sourceforge.net::cvsroot/logfiletools/*
- Download and install cvs2svn
wget http://cvs2svn.tigris.org/files/documents/1462/46528/cvs2svn-2.3.0.tar.gz
tar -xzvf cvs2svn-2.3.0.tar.gz
cd cvs2svn-2.3.0
make install
- Convert from CVS to Subversion
cvs2svn --encoding=utf8 --default-eol=native --trunk-only -s logfile-svn logfile
- Reset google repository Browse to the ‘Source’ page, click the ‘reset this repository’ link and choose the option "Did you just start this project and do you want to ’svnsync’ content from an existing repository into this project?"
- Import local SVN repo to google
svnsync init --username username https://eclipselogviewer.googlecode.com/svn file:///root/logfile-svn/
svnsync sync --username username https://eclipselogviewer.googlecode.com/svn
- svnsync reported errors
For revision 10 & 11 some files are bad formated (http://code.google.com/p/support/issues/detail?id=3270):
svnsync: At least one property change failed; repository is unchanged
svnsync: Error setting property 'log':
Could not execute PROPPATCH.
I reformated the file "./db/revprops/0/10" and "../11" manually and restartedsvnsync sync
Instead of do it manually one should use the interface ;)svn propedit --revprop -r10 svn:log