summaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2010-03-03 20:34:31 (GMT)
committerEric Wong <normalperson@yhbt.net>2010-03-04 09:45:15 (GMT)
commitb91a8a3ee17629ca7b9806fede2937232a05116c (patch)
tree31bac572ba8ca9ea49864135d57130e34e1c573e /git-svn.perl
parent6d84bcb5de78251d98f7d3e80e822d9a4b8f4df3 (diff)
downloadgit-b91a8a3ee17629ca7b9806fede2937232a05116c.zip
git-b91a8a3ee17629ca7b9806fede2937232a05116c.tar.gz
git-b91a8a3ee17629ca7b9806fede2937232a05116c.tar.bz2
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>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-svn.perl b/git-svn.perl
index b7c03b6..bae7231 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";