[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: Olaf Hering <olh_at_suse.de>
Date: Wed, 21 May 2008 17:13:42 +0200

On Mon, May 19, Karl Fogel wrote:

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

I tried http://svn.haxx.se/dev/archive-2008-02/0307.shtml with the 1.5.x
branch, revision 31325.
The patch does not help. --non-interactive is required.

olaf_at_coconut:~> cat svn-stdin.sh
#!/bin/bash
set -ex
name=x
repo=repo
co=co
dir=/dev/shm/svn-stdin.$LOGNAME.$$
mkdir $dir
pushd $dir
mkdir $repo
pushd $repo
svnadmin create --fs-type fsfs $name
popd
mkdir $co
pushd $co
svn co file://$dir/$repo/$name a
svn co file://$dir/$repo/$name b
pushd a
cp -v /etc/fstab .
svn add fstab
svn commit -m ' import ' fstab
svn up
cat /proc/uptime >> fstab
popd
pushd b
svn up
cat /proc/uptime >> fstab
svn commit -m ' conflict ' fstab
popd
pushd a
svn up < /dev/null

---------------------------------------------------------------------
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-21 17:14: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.