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

Re: [RFC] [PATCH] Use console, not stdin/stderr, for prompting

From: Peter Samuelson <peter_at_p12n.org>
Date: Sun, 5 Jun 2011 10:07:21 -0500

[Mark Phippard]
> Would this cause issues for apps that drive the command line
> programmatically without a console? For example, a Java web app that
> does some SVN commands from within the app server?

I can't imagine we'd want to officially support that sort of usage.
We've broken "screen scraping" types of apps before, with things like
column alignments in 'svn status' output. And you already can't
screen-scrape password prompts, at least on Unix, where we end up
calling the OS function getpass() which uses the console. So it would
only be possible to drive prompts like whether to accept an unsigned
server certificate.

I'd say, if you don't have an actual console at hand, you really really
should be using --non-interactive.

-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
Received on 2011-06-05 17:08:02 CEST

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

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