On Tue, May 12, 2009 at 22:54, mm w <[email protected]> wrote: > > Hello Stephan, > > you are welcome here http://www.bitbucket.org/durin42/hgsubversion/
This is wrong. Stephan stated that he is an early adopter of Mercurial support on Google Code, and thus doesn't need to talk to Subversion at all. However, I'm afraid I know next to nothing about how authentication is handled in Mercurial, so I can't answer your question Stephan. But I'm sure someone more knowledgeable about Mercurial will step up. > > Best, > > -mmw > > 2009/5/12 Stephan Mühlstrasser <[email protected]>: >> >> Hi, >> >> I'm participating in the Mercurial beta program (the project is at >> http://clojure-dev.googlecode.com/hg/), and I have a question >> regarding recommendations for automatic authentication. I'm using >> Mercurial 1.1.2 on Ubuntu 8.10 together with the MercurialEclipse >> plugin 1.3.1019. >> >> The cloning instructions tell the following for pushing changes >> (assuming "[email protected]" as my Google account name): >> >> # Project members authenticate over HTTPS to allow pushing changes. >> hg push https://[email protected]@clojure-dev.googlecode.com/hg/ >> >> When prompted, enter your generated googlecode.com password. >> >> This certainly works, but as I would like to be able to push without >> having to enter my password, I tweaked the .hg/hgrc file of a clone >> like this (assuming that "password" is my generated googlecode.com >> password): >> >> [paths] >> default = >> https://my.address%%40something.com:[email protected]/hg/ >> >> This allows to run "hg push" without having to enter the password >> interactively. >> >> The problem is that this method does not work with the >> MercurialEclipse plugin. It seems to mess up the URL when attempting >> to push the changes. >> >> In order to avoid the problematic URL that contains username and >> password I try to work around this by using the [auth] section in the >> hgrc file (see http://www.selenic.com/mercurial/hgrc.5.html), like >> this: >> >> [auth] >> clojuredev.prefix = clojure-dev.googlecode.com/hg/ >> clojuredev.username = [email protected] >> clojuredev.password = password >> clojuredev.schemes = https >> >> [paths] >> default = https://clojure-dev.googlecode.com/hg/ >> >> But this seems to have no effect. When executing "hg push" from the >> command line I'm prompted for username and password. >> >> So finally my question: Should the Mercurial authentication via the >> [auth] section work with googlecode.com? Or am I misunderstanding the >> purpose of the [auth] section? >> >> Sorry if I'm barking up the wrong tree here, but I currently have no >> other remote Mercurial repository where I could try this for a >> comparison. >> >> Thanks >> Stephan >> >> > >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hosting at Google Code" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-code-hosting?hl=en -~----------~----~----~----~------~----~------~--~---

