[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion 1.8 "--non-interactive" and "--force-interactive" flags behavior

From: Mark Phippard <markphip_at_gmail.com>
Date: Mon, 5 Aug 2013 10:42:48 -0400

On Mon, Aug 5, 2013 at 10:20 AM, Branko Čibej <brane_at_wandisco.com> wrote:

>>> The better option of course is to just use the JavaHL API instead.
>> I have seen this problem as well. We have a Java server application
>> that scripts the command line so that it can retrieve and accept the
>> SSL certificate. We added the new --force-interactive option but the
>> problem is that the prompting seems to happen in the process that
>> started the Java server application instead of in the application
>> itself. So it is no longer possible to capture the command line output
>> with the certificate details and accept it.
>
> It has nothing to do with processes. We prompt the terminal, and read
> responses from the terminal, instead of using stderr for the prompt and
> stdin for the response. Note that on Windows, this was always the case
> for certain kinds of prompts. 1.8 merely makes that consistent.
>
>> Personally, I think this is a regression and not an improvement.
>
> You had a year and a half to raise this on dev@. :)

When the changes were made I just assumed Java apps would still work.
I assumed the code would just see the JVM as being the terminal. I
also generally trust the dev team to not introduce regressions. Guess
I was wrong on both counts.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2013-08-05 16:43:37 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.