From: Michael J Gruber Date: Wed, 3 Mar 2010 20:34:31 +0000 (+0100) Subject: git-svn: req_svn when needed X-Git-Tag: v1.7.1-rc0~102 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b91a8a3ee17629ca7b9806fede2937232a05116c;p=git.git 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 --- diff --git a/git-svn.perl b/git-svn.perl index b7c03b641..bae723109 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";