svn improt needs SVN::Core 1.2.1 or better
authorMatthias Urlichs <smurf@smurf.noris.de>
Mon, 10 Oct 2005 11:42:48 +0000 (13:42 +0200)
committerMatthias Urlichs <smurf@smurf.noris.de>
Mon, 10 Oct 2005 11:42:48 +0000 (13:42 +0200)
Die with a warning if Perl's svn module is too old.

Signed-Off-By: Matthias Urlichs <smurf@smurf.noris.de>
git-svnimport.perl

index 415b50b35abcf9f54a9d4755f3b64f31a96ead49..ef73f364cc420fd1d570ec781b4e987ceb2b9bc1 100755 (executable)
@@ -26,6 +26,8 @@ use IPC::Open2;
 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";