From: Matthias Urlichs Date: Mon, 10 Oct 2005 11:42:48 +0000 (+0200) Subject: svn improt needs SVN::Core 1.2.1 or better X-Git-Tag: v0.99.9~112^2~17 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/37dcf6de60498dfedb5d97ad96789b0527493bcd?ds=sidebyside;hp=c6582aba5230301fe826c06d1891a4a8a9d32074 svn improt needs SVN::Core 1.2.1 or better Die with a warning if Perl's svn module is too old. Signed-Off-By: Matthias Urlichs --- diff --git a/git-svnimport.perl b/git-svnimport.perl index 415b50b35a..ef73f364cc 100755 --- a/git-svnimport.perl +++ b/git-svnimport.perl @@ -26,6 +26,8 @@ use SVN::Core; use SVN::Ra; +die "Need CVN:COre 1.2.1 or better" if $SVN::Core::VERSION lt "1.2.1"; + $SIG{'PIPE'}="IGNORE"; $ENV{'TZ'}="UTC";