Bug#486527: git-svn: use of uninitialised value in 'dcommit' operation

2010-11-09 Thread Quentin Neill
I hit this problem (I found
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422699 first, then
this bug).

Here's how I reproduced:

Setup an account on a remote system with /bin/false as a login shell:

remote# useradd -s /bin/false blah
remote# passwd blah
...

Try something that tickles the SVN/Core.pm code from the local system:
local# git svn init -Ttrunk svn+ssh://b...@remote/junk
...

-- 
Quentin



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#422699: suggested patch for 422699

2010-11-09 Thread Quentin Neill
I get this trying to use ssh+svn through a firewall.

Suggested patch to fix is:

--- /usr/lib/perl5/SVN/Core.pm  2010-11-09 15:33:12.930103162 -0600
+++ /tmp/Core.pm2010-11-09 15:33:10.132603023 -0600
@@ -581,7 +581,7 @@

my $error_message = $svn_error->strerror();
while ($svn_error) {
-   $error_message .= ': ' . ($svn_error->message() || "?");
+   $error_message .= ': ' . ($svn_error->message();
$svn_error = $svn_error->child();
}
return $error_message;



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org