[Tyler MacDonald]
> When subversion is being run without a controlling terminal (eg; "svn up <
> /dev/null", or when being executed from a cronjob), subversion should
> realize that it has no controlling terminal and revert to the previous
> default behaviour, "postpone".

The official view: any time you want to run svn from a script, you
should be using --non-interactive.  Sure, it seems you can sometimes
skip it, but the set of circumstances that will use interactive
behavior may change over time, so it is best not to assume you know
which commands need this and which do not.

You seem to be asking for Subversion to call isatty(0) and if it
returns false, assume --non-interactive.  I am not sure if that's a
good idea.  Upstream may resist this on the grounds that it isn't
necessarily portable to Windows (though it should work on any Unix).
-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to