Hi,
It seems (at least in v1.29) that it is not possible to do a fossil clone
with a username and password in the url and automatically remember the
password via a command line switch or other approach. What is really
interesting is that if you pipe "y" into the fossil clone command, then
fossil doesn't even ask to remember the password. It seems that the user
must be prompted, which is a problem when scripting!
I've tracked it down in the source code in url.c, function
url_parse_local(...) where it explicitly checks isatty(fileno(stdin)) and
otherwise doesn't apply the URL_REMEMBER_PW flag at all.
Is there a rationale behind this? Could there be a flag (e.g. -q / --quiet
would work!) that can do an automatic "yes" at this point?
Thanks!!!
Andy
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users