[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: Karan, Cem \(Civ, ARL/CISD\) <CKaran_at_arl.army.mil>
Date: 2005-01-05 16:38:42 CET

> -----Original Message-----
> From: Erik Huelsmann [mailto:ehuels@gmail.com]
> Sent: Wednesday, January 05, 2005 2:30 AM
> To: Karan, Cem (Civ, ARL/CISD)
> Cc: users@subversion.tigris.org
> Subject: Re: What is the .svn/empty-file for?
>
>
> > 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?

Yes, thank you.

Thanks,
Cem Karan

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