On Thu, Nov 26, 2009 at 2:52 PM, Marco Bresciani <marcobresciani_1...@libero.it> wrote: > Hello all, > I've just registered a project on (Non)GNU Savannah site and I'm trying to > use TortoiseHg (and also the command line) to upload all my local repository > on the Savannah server. https://savannah.gnu.org/support/index.php?107140
I've not used Savannah before, so I can only give general advice. 1) Try the Mercurial users mailing list. You're much more likely to find other Savannah users there. I doubt this is a THG or Windows specific problem. 2) Try to use the command line initially, until you validate the ssh connection is working correctly. 3) Remove the username from the URL initially. Make it prompt for all of that data until you've pushed successfully at least once. Then you can look into storing the username in the hgrc and using a password agent. 4) if you have cygwin installed, try using it's ssh command. > I'm registered on Savannah and I have configured the repository according to > Savannah guidelines (http://savannah.gnu.org/maintenance/UsingHg) but I cannot > connect to the repository (it uses SSH). > > The configuration file seems correct, to me. I'm using TortoiseHg 0.9. > > So, I'm trying to push the modifications on Savannah, and I receive this > message: "Disconnected: No supported authentication methods available". > I've received, the first time I tried, the SSH connection message (key and so > on) but since I was busy doing too many things, I've not read it and I've also > probably mistyped the login name, that time, so I would like to try by > removing the already registered SSH and trying again. > Any idea on how to do this on this damn OS? (No, can't install gNewSense right > now, unfortunately...) > > Also, is the hg file correct? > > > ------------------------------------------ > [paths] > default = ssh://marcobresci...@hg.sv.gnu.org/scacchi3d > > [ui] > username = Marco Bresciani > > [tortoisehg] > authorcolor = True > > [web] > name = Scacchi 3D > description = Progetto e Sviluppo di un Sistema per il Gioco degli Scacchi > Tridimensionali > contact = Marco Bresciani <m.bresci...@email.it> > > [email] > from = Marco Bresciani <m.bresci...@email.it> > ------------------------------------------ > > > > > Here they are my steps: > 1. opened command prompt as administrator user; > 2. "cd"ed inside the repository directory (same level as ".hg" directory; > 3. checked repository config file to be sure about content (see previous > attachment); > 4. ran "hg serve -A access.log -E error.log" at 21.33; > ... Why do you need hg serve? > ... > 5. no news/changes or output (neither in the logs) at 21.50 but command > apparently still running (no exit firewall on hg, obviously); > > ------------------------------------------ > ------------------------------------------ > ------------------------------------------ > > Second attempt: > 1. opened command prompt as administrator user; > 2. "cd"ed inside the repository directory (same level as ".hg" directory; > 3. checked repository config file to be sure about content (see previous > attachment); > 4. ran "hg push -v --debug" at 21.40; > 5. output is: > > sto eseguendo ""C:\Program Files\TortoiseHg\TortoisePlink.exe" -ssh -2 > marcobresci...@hg.sv.gnu.org "hg -R scacchi3d serve --stdio"" > sending hello command > sending between command > abortito: nessuna risposta accettabile dall'hg remoto! > > where "sto eseguendo" means "I'm running" and "abortito: nessuna risposta > accettabile dall'hg remoto!", according to the translation file the actual > English message is: "no suitable response from remote hg". This usually indicates Mercurial is unable to run on the remote server when you connected to it with ssh. 90% of the time, this is a path or PYTHONPATH issue. The ssh shell connection looks like this (behind the scenes): login as me $ hg -R scacchi3d serve --stdio hg: not found > ------------------------------------------ > ------------------------------------------ > ------------------------------------------ > > Instead, using TortoiseHg "push" command I see an error popup dialog saying > "Disconnected: No supported authentication methods available". Same for > "incoming", "push" and "outgoing" modifications commands. It's not getting as far as your command line attempts, though it's not obvious why. Debugging ssh issues on Windows is non-trivial. I hardly ever use it myself on Windows. -- Steve Borho ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Tortoisehg-discuss mailing list Tortoisehg-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss