summaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorLibravatar Michael J Gruber <git@drmicha.warpmail.net>2010-03-03 21:34:31 +0100
committerLibravatar Eric Wong <normalperson@yhbt.net>2010-03-04 01:45:15 -0800
commitb91a8a3ee17629ca7b9806fede2937232a05116c (patch)
tree31bac572ba8ca9ea49864135d57130e34e1c573e /git-svn.perl
parentMerge branch 'maint' (diff)
downloadtgif-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>
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 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";