[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: Steve Greenland <steveg_at_lsli.com>
Date: 2005-01-05 17:38:51 CET

On Wed, Jan 05, 2005 at 05:05:34PM +0100, Erik Huelsmann wrote:
> > On Wed, Jan 05, 2005 at 08:29:57AM +0100, Erik Huelsmann wrote:
> > 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?

Windows and unix-like, yes. Others? If not, create the tempfile...Hmmm,
I see the problem cleaning up leftover tempfiles, if you can't use the
unix "create/open and delete" trick. Okay, more trouble than it's worth,
probably.

But I admittedly was thinking of only unix-like and windows...I'd
forgotten the "any APR supported system" idea. (Is that really true? Is
anybody *really* running Subversion on Netware. Would it work?)

Steve

-- 
"Outlook not so good." That magic 8-ball knows everything! I'll ask
about Exchange Server next.
                           -- (Stolen from the net)
---------------------------------------------------------------------
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:43:09 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.