SVN: broken pipeline when printing truncated log

At least in svn, version 1.4.4 (r25188), this happens.

$ svn log -v | head -20
After printing a few lines, one error msg pops out.
svn: Write error: Broken pipe

The “broken pipe” msg is related to SIGPIPE, a signal sent usually because there is no reader down the pipe to accept what the printer is trying to write. This seems to be one unfriendly feature/bug in svn which lots of users have complained.

This does not affect the output results though. Just ignore the error msg at this stage.

Advertisements
SVN: broken pipeline when printing truncated log

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s