On Sat, Oct 10, 2009 at 7:27 PM, Berke Viktor <[email protected]> wrote: > On Sat, 10 Oct 2009 18:52:09 -0500 > Steve Borho <[email protected]> wrote: > >> On Sat, Oct 10, 2009 at 5:48 PM, Berke Viktor >> <[email protected]> wrote: >> > helo, >> > >> > i'm trying to sync after my test commit. in the repo/sync settings >> > i set up http and ssh the same way, just protocol differs. >> > >> > then i modify mercurial.ini to use my private key (there's no gui >> > for this, why?): >> >> Not sure, perhaps an oversight. >> >> > [ui] >> > ssh = TortoisePlink -ssh -i "e:/utils/dev/ssh/id_rsa.ppk" -C -agent >> > >> > (i converted my private key to putty key format with puttygen) >> > >> > if i use http to view outgoing changes, it shows them fine. if i >> > select ssh, it asks for my password, and then >> > >> > running "TortoisePlink -ssh -i "e:/utils/dev/ssh/id_rsa.ppk" -C >> > -agent u...@host "hg -R folder/ serve --stdio"" remote: >> > abort: There is no Mercurial repository here (.hg not found)! no >> > suitable response from remote hg [command interrupted] >> > >> > what am i doing wrong? >> >> The error indicates Mercurial on the server is not finding a >> repository where it is looking. Usually this is an URL problem. >> >> -- >> Steve Borho > > yes, you're right, thanks. after some investigation it turned out that > it's > > http://u...@host/project/ > and > ssh://u...@host//hg/project/ > > interestingly it doesn't work with single dash before hg (?), i think > i'll ask the server admins about that.
It's a quirk of ssh URLs. Without double slashes, it assumes the URL is rooted in your $HOME directory. -- Steve Borho ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Tortoisehg-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

