Can https authorization work in non interactive mode?

David Frascone dave at frascone.com
Mon Nov 19 10:52:10 CST 2007


hg clone https://user:password@host/path works for me

Though, can I put username / password in a .hgrc somewhere?

-Dave

On Nov 19, 2007 11:37 AM, John Rice <John.Rice at sun.com> wrote:

> Hi - we are building a Mercurial plugin for the NetBEans IDE and would
> like to support HTTPS for users when Cloning, Push/Pull from a remote
> repository.
>
> Looking at the Hg code this does not seem possible in non interactive
> mode:
>
> /usr/lib/python2.4/vendor-packages/mercurial/httprepo.py
>         :
>       if not self.ui.interactive:
>           raise util.Abort(_('http authorization required'))
>
> Any suggestions or ideas to get around this/ support it?
>
> For now we are just telling folks they can use HTTP or ssh (as long as
> they cache the certificate on the client first).
>
> Thanks,
>
> JR
>
> http://wiki.netbeans.info/wiki/view/MercurialVersionControl
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>



-- 
David Frascone

Oxymoron: Safe Sex.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20071119/7835bdad/attachment.htm 


More information about the Mercurial mailing list