@matheusbsbs / matheus-bagliano / commits / 37dcf6de60
Fork 0

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>

Matthias Urlichs committed Oct 10, 2005 at 13:42 UTC 37dcf6de60498dfedb5d97ad96789b0527493bcd
1 file changed +2
git-svnimport.perl
+2
@@ -26,6 +26,8 @@ use IPC::Open2;
26 use SVN::Core;
27 use SVN::Ra;
28
29 +die "Need CVN:COre 1.2.1 or better" if $SVN::Core::VERSION lt "1.2.1";
30 +
31 $SIG{'PIPE'}="IGNORE";
32 $ENV{'TZ'}="UTC";
33