On Sat, Sep 22, 2012 at 3:29 PM, Bruce Korb <bruce.k...@gmail.com> wrote: > Hi Gaby, > > On 09/22/12 13:07, Gabriel Dos Reis wrote: >>> SVN is behaving unexpectedly. Help, please? >> >> Have you upgraded your system or SVN recently? > > Not deliberately. :) Switched openSuSE releases (12.2 now).
yeah, I have been running suse since 6.2, and I was a little bit disappointed when I upgraded a couple of weeks ago to 12.2; there were a few surprises :-( >> If yes, you need to issue the command >> >> $ svn upgrade > > It's been crunching on that for over 20 minutes now. Wow; mine took about 2 min -- but admittedly I had only trunk to worry about trunk. It is a local operation so it does not use any network; maybe a slower harddrive? I used to use SVK over SVN, but the change in format threw SVK to the coucouland; it is a bit painful. > I suppose it will finish eventually. [finished while writing this] > > Nonetheless, I do prefer to work with GIT over SVN, but that means > I would need to debug the issues from my first missive > on this topic. [now fixed, see below] I was addicted to SVK, but now I am painfully back to plain SVN. > >> (this has nothing to do with GCC. It is a general SVN thingy.) > > Still, dealing with anticipatable failures makes for good grist > for the GCC wiki. Error messages like, "remove the -q option" > are not helpful when you haven't used any -q option. And it > was similar to the message from "git svn": I fully agree. I suspect it might be that: (1) many GCC developers use plain SVN; or (2) the change in SVN format (version 1.7.x) is relatively recent so it hasn't affected enough people yet. > >> $ git svn init -Ttrunk --prefix=origin/ svn+ssh://gcc.gnu.org/svn/gcc >> Network connection closed unexpectedly: Unable to connect to a repository at >> \ >> URL 'svn+ssh://gcc.gnu.org/svn/gcc': To better debug SSH connection >> problems, >> remove the -q option from 'ssh' in the [tunnels] section of your Subversion >> configuration file. at /usr/lib/git/git-svn line 2299. >> >> >> 2287 sub init_remote_config { [...] > > I surely don't see any "-q" on line 2299. Perhaps I need a "korbb@" inserted > before the "gcc.gnu.org" in the command? > [a moment passes] > > Yep. That's it. the "git svn init" command should be augmented with my > login id at gcc.gnu.org. Thank you! > >> $ git svn init -Ttrunk --prefix=origin/ svn+ssh://logi...@gcc.gnu.org/svn/gcc > > So, "remove the -q option" really means, "provide your login id." > Not especially obvious. :( > > Thank you!! - Bruce Thank *you* for debugging this. Would you mind patching this part of the script along with suggestion for running `svn upgrade'? -- Gaby