[Joey Hess]
> % svn update
> svn: To better debug SSH connection problems, remove the -q option from 'ssh' 
> in the [tunnels] section of your Subversion configuration file.
> svn: Network connection closed unexpectedly
> 
> This is a bad error message because the [tunnels] section of my subversion
> config file is entirely commented out/defaults, and none of the comments
> have a -q either.

OK, the actual situation: the 'svn+ssh' tunnel defaults to calling
'$SVN_SSH -q -o ControlMaster=no' where $SVN_SSH defaults to 'ssh'.
(The ControlMaster part is a Debian patch that probably is not needed
anymore.)  The current default config file, which you can see in
/etc/subversion/config, shows this default, commented out.  Your
~/.subversion/config probably doesn't show the -q because it was added
some years after you first ran svn.  (svn doesn't update your config
file when it runs, it just writes a static file if the file doesn't
already exist.)

Given the above, and given I don't think it'd be easy to determine from
the point that error is thrown whether the 'svn+ssh' tunnel is a
compiled default or has been changed, do you have any better
suggestions for the error?  I'd be happy to improve the error in Debian
and upstream.

Thanks,
-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/



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

Reply via email to