Can https authorization work in non interactive mode?
John Rice
John.Rice at Sun.COM
Mon Nov 19 10:37:42 CST 2007
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
More information about the Mercurial
mailing list