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.verplant.org/?a=commitdiff_plain;h=37dcf6de60498dfedb5d97ad96789b0527493bcd;p=git.git 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 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";