On Fri, Jun 3, 2011 at 7:57 PM, Peter Samuelson <pe...@p12n.org> wrote: > > [Peter Samuelson] >> Hrrrmph. I think libsvn_subr/prompt.c could use a large dose of >> "/dev/tty". Right now it mostly uses stderr and stdin, but for >> password prompts it uses /dev/tty on modern Unix ... indirectly, >> by calling apr_password_get() which calls getpass(), an OS library >> function. > > Concept patch - not tested. Does this seem reasonable? I'd really > prefer to do all our prompting on the terminal. The fact that this > frees up stdin for things like 'svn patch' and 'svnrdump load' is only > one reason.
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? -- Thanks Mark Phippard http://markphip.blogspot.com/