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

Re: Broken pipe

From: Jack Repenning <jrepenning_at_collab.net>
Date: 2004-01-21 01:42:16 CET

On Jan 20, 2004, at 8:51 AM, Tobias Ringstrom wrote:

> Julian Foad wrote:
>> On head of trunk on SuSE Linux 9, "svn log | head" aborts with "svn:
>> Can't write to stream: Broken pipe" after displaying the ten lines of
>> correct output. I think this is a serious unfriendliness which I
>> would not like to see in release 1.0, though it is getting a bit late
>> for such changes. I thought this had been discussed and perhaps
>> resolved a few weeks ago. Perhaps not. At least I think a consensus
>> was reached that it should die quietly and the way to achieve this
>> was known.
>> I can't find "pipe" mentioned in any issue summary nor the STATUS
>> file. What is the status of this?
>
> Before 0.36, the client just died, which caused wedged repositories.
> From 0.36 on, the client gets a read error and prints it using the
> normal mechanism. I cannot remember any consensus (or even strong
> opinions) on whether the error message should be suppressed or not. It
> would probably be nice to suppress it, but I would prefer some more
> discussion first.

I think there's overwhelming precedent for suppressing the message. I
tried a few commands, and couldn't find any that whine in these
circumstances. For example:

grep -lr . . | head
find . | head

Also interesting, these commands terminate quietly:

svn stat --verbose | head
svn ls -Rv | head
svn info -R | head

I think maybe "svn log" is all alone in this;-)

OTOH, I'm having a hard time seeing this as critical. If it were a
month or two ago, I'd be all over suppressing the message; at this
point, I'm feeling like I could live with that until 1.0.1 or so....

-==-
Jack Repenning
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
o: 650.228.2562
c: 408.835.8090

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 21 01:42:45 2004

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