Just to expand on Ben's answer slightly... If you are using the paths section of an hgrc file and have an @ symbol in your username, then it gets a little more complicated. The @ must be converted to %40 to be handled by the URL parser, and the mercurial hgrc format requires that % be escaped to %%. So, if you are working with project 'project', your username is [email protected] and password is 123, then you would need to use this as the path in the hgrc file:
https://person%%40company.com:[email protected]/hg/ You can also set it up to only use https for pushes (and pull anonymously) by placing these lines in your .hg/hgrc file: [paths] default = http://project.googlecode.com/hg/ default-push = https://person%%40company.com:[email protected]/hg/ Dave On Jul 10, 2:41 pm, Ben Collins-Sussman <[email protected]> wrote: > On Fri, Jul 10, 2009 at 1:43 PM, Vivek Sharma<[email protected]> wrote: > > 3. Is there a way to store the google generated weird password > > somewhere in mercurial, as its a pain to copy paste it on every push. > > Put it in your .hgrc file. See example 4.19 in the mercurial > FAQ:http://mercurial.selenic.com/wiki/FAQ > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

