Proof of concept password caching extension
Thomas Arendsen Hein
thomas at intevation.de
Wed Jun 6 12:20:01 CDT 2007
* David Glasser <glasser at mit.edu> [20070606 18:58]:
> On 6/6/07, Benoit Boissinot <bboissin at gmail.com> wrote:
> > On 6/6/07, David Glasser <glasser at mit.edu> wrote:
> > > The attached Mercurial extension caches http passwords. It does this
> > > by replacing the httprepo.passwordmgr class with one that caches to
> > > ~/.hgpwcache/cache.
> >
> > Any reason not to use .netrc (and the corresponding python module) ?
>
> Mostly that I'm not familiar with it.
>
> Also, how would you specify the keys that mercurial is looking for
> (realm and uri)?
Maybe by using the full URL as machine name (if that is possible):
machine http://hg.example.com/path/to/repo login foo password bar
Thomas
--
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
More information about the Mercurial-devel
mailing list