From 37dcf6de60498dfedb5d97ad96789b0527493bcd Mon Sep 17 00:00:00 2001 From: Matthias Urlichs Date: Mon, 10 Oct 2005 13:42:48 +0200 Subject: [PATCH] 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 --- git-svnimport.perl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-svnimport.perl b/git-svnimport.perl index 415b50b3..ef73f364 100755 --- a/git-svnimport.perl +++ b/git-svnimport.perl @@ -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"; -- 2.11.0