aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2010-03-03 21:34:31 +0100
committerEric Wong <normalperson@yhbt.net>2010-03-04 01:45:15 -0800
commitb91a8a3ee17629ca7b9806fede2937232a05116c (patch)
tree31bac572ba8ca9ea49864135d57130e34e1c573e
parent6d84bcb5de78251d98f7d3e80e822d9a4b8f4df3 (diff)
downloadgit-b91a8a3ee17629ca7b9806fede2937232a05116c.tar.gz
git-b91a8a3ee17629ca7b9806fede2937232a05116c.tar.xz
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 <git@drmicha.warpmail.net> Acked-by: Eric Wong <normalperson@yhbt.net>
-rwxr-xr-xgit-svn.perl1
1 files changed, 1 insertions, 0 deletions
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";