Authentication information not found under Windows

Alexander Schatten ml_alexanderschatten at gmx.at
Wed Feb 10 04:58:28 CST 2010


Thanks Steve for the solution, yet my understanding is, that this situation is not optimal. 

This is why I would like to repeat my suggestion (as "only" Steve responded to the initial question): This auth. feature is pretty essential for all Windows users who work with e.g. Google Code. 

I believe, this is the first frustration that new Mercurial users coming via Google Code will potentially face.

In my understanding, Steve even has suggested a patch to fix the issue in Mercurial, if I understood it correctly. 

Even so, I again would suggest to update the documentation to explain this workaround with TortoiseHG.


thanks



Alex



-------- Original-Nachricht --------
> Datum: Wed, 10 Feb 2010 00:17:15 -0800 (PST)
> Von: mdemo <element-skateboards at gmx.at>
> An: mercurial at selenic.com
> Betreff: Re: Authentication information not found under Windows

> 
> Hi,
> 
> I now work with Tortoise and that works fine. 
> 
> thank you
> 
> 
> Steve Borho wrote:
> > 
> > On Mon, Feb 8, 2010 at 4:25 PM, mdemo <element-skateboards at gmx.at>
> wrote:
> >>
> >> Hi again,
> >>
> >> I want to save my username and password information in the
> configuration
> >> file under .hg/hgrc, that does look like:
> >>
> >> [paths]
> >> default = thedefaultpath
> >> [extensions]
> >> hgext.convert=
> >> hgext.graphlog =
> >> hgext.mq =
> >> hgext.purge =
> >> hgext.rebase =
> >> mercurial_keyring = path to may mercurial_keyring.py
> >> [ui]
> >> username = MyUsername
> >> [auth]
> >> googlecodebpse.prefix=myPrefix
> >> googlecodebpse.username=myUsername
> >> googlecodebpse.password=myPassword
> >> googlecodebpse.schemes=https
> >>
> >> I've searched a lot in the forums, and try to add Mercural.ini in
> >> different
> >> locations, and isntall the keyring tool, the dedicated solutions for
> >> Win32
> >> command line.
> >>
> >> Always when I want to make a hg push, a prompt of username and password
> >> occurs. The log file says that
> >>
> >> - Username is not specified in .hg/hgrc.
> >> - http authentication required
> > 
> > You need the modified Python keyring libraries that TortoiseHg ships
> > with in order for the mercurial_keyring extension to store passwords
> > properly on Windows (none of the file based fallback mechanisms work
> > with mercurial-keyring).
> > 
> > These libraries came with TortoiseHg 0.9.3, or you may try to install
> > them yourself from http://bitbucket.org/sborho/python-keyring-lib
> > 
> > --
> > Steve Borho
> > _______________________________________________
> > Mercurial mailing list
> > Mercurial at selenic.com
> > http://selenic.com/mailman/listinfo/mercurial
> > 
> > 
> 
> -- 
> View this message in context:
> http://old.nabble.com/Authentication-information-not-found-under-Windows-tp27507332p27527082.html
> Sent from the Mercurial mailing list archive at Nabble.com.
> 
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial


More information about the Mercurial mailing list