[PATCH 1 of 2] allow http authentication information to be specified in the configuration

Martin Geisler mg at lazybytes.net
Fri May 8 18:48:12 CDT 2009


Sune Foldager <cryo at cyanite.org> writes:

> # HG changeset patch
> # User Sune Foldager <cryo at cyanite.org>
> # Date 1241461587 -7200
> # Node ID 2f36826b7f33a04930ffa04512dfd0b44a331ca5
> # Parent  9de088320e9ac943e491beb9017b3673002b95b9
> allow http authentication information to be specified in the configuration

I tested it and pushed it to crew, see revision 89c80c3dc584. Thanks!

It's perfect for a site like Bitbucket where all private repositories
are under the same prefix. I now have this line in ~/.hgrc:

  %include .hgauth

The ~/.hgauth file has 0600 permissions and contain

  [auth]
  bb.prefix = https://bitbucket.org/mg/
  bb.username = mg
  bb.password = something

Works very nicely!

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090509/a577ef44/attachment.pgp 


More information about the Mercurial-devel mailing list