passing username and password in non-interactive mode

Bastian Doetsch bastian.doetsch at gmx.de
Mon Nov 24 18:24:02 UTC 2008


Am Montag, den 24.11.2008, 19:18 +0100 schrieb Isaac Jurado:

> On Mon, Nov 24, 2008 at 7:09 PM, Bastian Doetsch <bastian.doetsch at gmx.de> wrote:
> >
> > - If I try not to provide it when calling hg from Java, Hg puts itself
> >   automatically in non-interactive mode and I can't authenticate
> >   interactively from Java.
> 
> How is the remote repository set up?  That is, how do you access it?


E.g. http(s) authentication or ssh authentication with private access,
so no read is possible without authenticating.


> 
> > Is there any other way? If not, how about introducing --user and
> > --password options to all remote commands (and sign)?
> 
> That is not a Mercurial issue, but a transport issue: http, https, ssh
> and so on.


I agree, but as I can't access the transport protocol directly with the
command line interface, I'd need something in Mercurial to route this
information through - or a change in saving the default location, so
that it doesn't contain authentication information.


> 
> Cheers.
> 


Best regards,
Bastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20081124/183b486f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20081124/183b486f/attachment-0001.asc>


More information about the Mercurial mailing list