Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
svn2cvs [2011/07/18 21:18] – Add place holders for knowledgable folks to fill in DavidOBriensvn2cvs [2018/06/09 04:58] (current) – MarkLinimon
Line 1: Line 1:
 +:!: of historical interest only.
 +
 This page describes the %%FreeBSD%% Subversion to CVS exporter AKA This page describes the %%FreeBSD%% Subversion to CVS exporter AKA
 svn2cvs. svn2cvs.
Line 104: Line 106:
  
 As of this writing no files are out of sync. As of this writing no files are out of sync.
 +
 +====== Tips ======
 +
 +The following command can be used to get all commits to a branch e.g. for hand exporting:
 +
 +svn log --xml --stop-on-copy file:%%//%%/r/svnmirror/base/releng/9.1 | xmllint --format /dev/stdin | awk -F\" '/%%<%%logentry revision="/ { print $2 }' | sort -n | awk '{ printf "echo \"Press enter to export r%s\"\nread line\npython export.py -r %s\n", $1, $1 }'
 +
 +Simon's original suggestion:
 +svn log --xml --stop-on-copy file:%%//%%/r/svnmirror/base/releng/9.1 | xmllint --format /dev/stdin | grep 'logentry revision' | sed -Ee 's/.*revision="(.*)">.*/\1/' | sort
 +
 +----
 +
 +{{tag>Historical}}
  
  • svn2cvs.1311023936.txt.gz
  • Last modified: 2011/07/18 21:18
  • by DavidOBrien