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

Re: What is the .svn/empty-file for?

From: Erik Huelsmann <e.huelsmann_at_gmx.net>
Date: 2005-01-05 17:05:34 CET

> On Wed, Jan 05, 2005 at 08:29:57AM +0100, Erik Huelsmann wrote:
> > Subversion needs an empty input bytestream when sending files to its
> > server (and some other cases). That's what the empty file is used for.
> > Hope that answers your question?
> Now I'm intrigued.
> What's wrong with /dev/null? Or creating a temp file as needed? Why
> clutter up every .svn directory?
> Color me curious,
> Steve

/dev/null is less portable :-)

But also: are /dev/null, NUL: and all other device names referring to the
same principle guaranteed to return EOF immediately after opening the file?

FWIW: our compatibility guarantees don't let us remove it from the working
copies until 2.0....



+++ GMX - die erste Adresse für Mail, Message, More +++
1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 5 17:09:06 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.