[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: David Glasser <glasser_at_davidglasser.net>
Date: Mon, 19 May 2008 09:52:41 -0700

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.

--dave

On Mon, May 19, 2008 at 7:06 AM, Olaf Hering <olh_at_suse.de> wrote:
> I received this report, for revision 31014 in the 1.5.x branch.
>
> ----- Forwarded message from bugzilla_noreply_at_novell.com -----
>
> https://bugzilla.novell.com/show_bug.cgi?id=392041
>
>
> This actually happens in cron scripts that work since years. The new
> subversion (subversion-1.5.0-83 for me) does this on repos with conflicts:
>
> % svn up < /dev/null
> U gcc/ChangeLog
> A gcc/testsuite/gcc.dg/torture/builtin-isinf_sign-1.c
> U gcc/testsuite/gfortran.dg/char_cast_1.f90
> U gcc/testsuite/ChangeLog
> Conflict discovered in 'gcc/tree-ssa-alias.c'.
> Select: (p) postpone, (df) diff-full, (e) edit,
> (h) help for more options: svn: Can't read stdin: End of file found
>
> And then stops. I'm aware of --non-interactive. svn should be able to
> figure that out itself, namely when the input is not a tty.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: dev-help_at_subversion.tigris.org
>
>

-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
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 18:52:56 CEST

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