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 [2012/09/16 11:22] – add svn log top SimonNielsensvn2cvs [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 109: Line 111:
 The following command can be used to get all commits to a branch e.g. for hand exporting: 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 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.1347794538.txt.gz
  • Last modified: 2012/09/16 11:22
  • by SimonNielsen