Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: req_svn when needed
author
Michael J Gruber
<git@drmicha.warpmail.net>
Wed, 3 Mar 2010 20:34:31 +0000
(21:34 +0100)
committer
Eric Wong
<normalperson@yhbt.net>
Thu, 4 Mar 2010 09:45:15 +0000
(
01:45
-0800)
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>
git-svn.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
6d84bcb
)
diff --git
a/git-svn.perl
b/git-svn.perl
index b7c03b641cc3d38a0e619b4843d6309413eb4903..bae7231096bd7ce6ebcc664951b5dd7ac82970e5 100755
(executable)
--- 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";