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

Re: [Issue 1039] Changed - ra_dav / svn cat : adds a blank line at start of file

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2002-12-22 08:02:41 CET

On Sun, 2002-12-22 at 01:56, Peter Davis wrote:
> I can't help but think that, barring line-buffer issues, the newline could
> just be echoed to stderr instead of stdout (same for the password prompt).
> After all, that is the purpose of stderr: a stream for messages that
> shouldn't be redirected when redirecting the output into a file or pipe. Has
> this already been discussed?

It's also common to use /dev/tty for password prompts, in case input has
been redirected (ssh does it, for instance, which is why you can use ssh
with password authentication as an ra_svn tunnel agent). Perhaps we
should do that, and send the echoed newline there as well.

(That's Unix-specific, of course.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 22 08:08:24 2002

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.