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

Re: Repository Size Confusion

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 18 Feb 2010 14:35:11 -0500

On Thu, Feb 18, 2010 at 14:30, nb1forxp <nbonwit_at_gmail.com> wrote:
> Hello,
>
> I just installed TSVN and am confused about the file size.  I have a
> working copy on my local machine that has a green check next to it and
> the size of the WC is 102Mb.  When I go to the actual repository on
> the server, the size of the repository is 20Mb.  I don't see how this
> is possible.  If I delete my WC in windows explorer, will I lose my
> data even though it thinks it's up to date with the repository?

Your WC actually has 2 copies of each file, plus associated metadata.

The repository stores files in a compressed format, plus any copies
made with svn cp are "cheap" copies - the copy is actually a pointer,
so a copy of a 1MB file only takes up about 1KB.

If you delete a WC, anything in the WC which has not been committed to
the repository will be lost.

> Also, what do I do when I no longer need a particular WC?  I'm
> assuming I just delete it in windows explorer but am not sure.

The repository keeps no record of WCs. Just delete it. Make sure you
release any locks first, else you'll have to break them.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2448898

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-18 20:35:19 CET

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

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