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

subversion reads from stdin even without tty and breaks

From: Olaf Hering <olh_at_suse.de>
Date: Mon, 19 May 2008 16:06:45 +0200

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
Received on 2008-05-19 16:06:57 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.