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 <smurf@smurf.noris.de>
maint
Matthias Urlichs 2005-10-10 13:42:48 +02:00
parent c6582aba52
commit 37dcf6de60
1 changed files with 2 additions and 0 deletions

View File

@ -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";