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

Re: subversion reads from stdin even without tty and breaks

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Mon, 19 May 2008 13:09:32 -0400

"David Glasser" <glasser_at_davidglasser.net> writes:
> While fixing this is something worth looking into, cronjobs and the
> like just need to use --non-interactive. The Subversion developers
> reserve the right to make any command throw up annoying prompts, pop
> up dialog boxes, or call you on the telephone if you don't pass in
> --non-interactive.

Agreed in principle. However, if we had a patch for detecting isatty
and not prompting when no tty, we'd be happy to apply it. A while ago
Eric Gillespie posted a patch that does some of this work, as part of
accomplishing a slightly different goal:

     Run diff output through the user's pager, if any, rather than
     dumping it all to the standard output. ...

I've never tested that patch, and don't know if (for example) it Does
The Right Thing inside an Emacs shell buffer or other non-standard ttys
for which interactive prompting would still be appropriate.

Olaf, got time to give it a try? ("No" is fine, I just always ask.)


To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-19 19:09:46 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.