OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6582ab
)
svn improt needs SVN::Core 1.2.1 or better
author
Matthias Urlichs
<smurf@smurf.noris.de>
Mon, 10 Oct 2005 11:42:48 +0000
(13:42 +0200)
committer
Matthias Urlichs
<smurf@smurf.noris.de>
Mon, 10 Oct 2005 11:42:48 +0000
(13:42 +0200)
Die with a warning if Perl's svn module is too old.
Signed-Off-By: Matthias Urlichs <smurf@smurf.noris.de>
git-svnimport.perl
patch
|
blob
|
history
diff --git
a/git-svnimport.perl
b/git-svnimport.perl
index
415b50b
..
ef73f36
100755
(executable)
--- 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";