Author: tille Date: 2017-12-01 19:22:33 +0000 (Fri, 01 Dec 2017) New Revision: 24794
Added: trunk/helper-scripts/convert_svn_2_git_debichem Log: Debichem has a totally different SVN layout. If we ignore tags this script works somehow Added: trunk/helper-scripts/convert_svn_2_git_debichem =================================================================== --- trunk/helper-scripts/convert_svn_2_git_debichem (rev 0) +++ trunk/helper-scripts/convert_svn_2_git_debichem 2017-12-01 19:22:33 UTC (rev 24794) @@ -0,0 +1,22 @@ +#!/bin/sh +# You need to install git-svn to run this script + +export SVN_URL=svn://svn.debian.org/svn/debichem/unstable +if [ $# != 1 ] ; then + echo "Usage: $0 <package to convert>" + exit +fi +export PKG=$1 + +git svn clone \ + ${SVN_URL}/${PKG} \ + --authors-file=debian-med-authors \ + --prefix=svn-import/ \ + --no-metadata \ + ${PKG} 2>&1 | tee >> svn2git_${PKG}.log + +cat <<EOT +In case of failure use + gbp import-dscs --debsnap --pristine-tar $PKG +to create a somehow sensible Git repository. +EOT Property changes on: trunk/helper-scripts/convert_svn_2_git_debichem ___________________________________________________________________ Added: svn:executable + * _______________________________________________ debian-med-commit mailing list debian-med-commit@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit