[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 <ehuels_at_gmail.com>
Date: 2005-01-05 08:29:57 CET

> I've been writing a few hacked up scripts to remove empty
> files/directories from my drives, and, as part of the process, have been
> trying to figure out what quite a number of automatically generated
> files seem to be for. As an example, my working copies of various
> repositories have in their .svn directories a file called "empty-file"
> (a truly appropriate name because the files invariably have nothing in
> them). The question is, can I safely remove them without screwing
> something up? And what the heck are they for???

No, you cannot safely remove them. In general, you can't remove
anything from .svn/ areas safely.

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?

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 5 08:32:20 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.