From b91a8a3ee17629ca7b9806fede2937232a05116c Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Wed, 3 Mar 2010 21:34:31 +0100 Subject: [PATCH] git-svn: req_svn when needed The delayed loading of SVN missed a place where SVN::Core is used. Make sure to load the package before trying to use it. Signed-off-by: Michael J Gruber Acked-by: Eric Wong --- git-svn.perl | 1 + 1 file changed, 1 insertion(+) diff --git a/git-svn.perl b/git-svn.perl index b7c03b641c..bae7231096 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -1102,6 +1102,7 @@ sub cmd_info { if ($@) { $result .= "Repository Root: (offline)\n"; } + ::_req_svn(); $result .= "Repository UUID: $uuid\n" unless $diff_status eq "A" && ($SVN::Core::VERSION le '1.5.4' || $file_type ne "dir"); $result .= "Revision: " . ($diff_status eq "A" ? 0 : $rev) . "\n"; -- 2.11.4.GIT