summaryrefslogtreecommitdiff
path: root/git-svnimport.perl
diff options
context:
space:
mode:
authorMatthias Urlichs <smurf@smurf.noris.de>2005-10-10 13:42:48 +0200
committerMatthias Urlichs <smurf@smurf.noris.de>2005-10-10 13:42:48 +0200
commit37dcf6de60498dfedb5d97ad96789b0527493bcd (patch)
treea1c8514364c1e4f3ad75d6b265d171b48a8f4aae /git-svnimport.perl
parentc6582aba5230301fe826c06d1891a4a8a9d32074 (diff)
downloadgit-37dcf6de60498dfedb5d97ad96789b0527493bcd.tar.gz
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>
Diffstat (limited to 'git-svnimport.perl')
-rwxr-xr-xgit-svnimport.perl2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-svnimport.perl b/git-svnimport.perl
index 415b50b35a..ef73f364cc 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";