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

Re: Question about performance and space

From: David Weintraub <qazwart_at_gmail.com>
Date: Thu, 11 Nov 2010 09:25:42 -0500

> I would like to know how tags and branches are "cheap copy" in terms
> of time and space.
>
> Since we can't reorganize the layout, we will need to tag big
> directories (about 500 Mb) even if we just sparse-chechkout single
> files.
> This operation might be done up to 10 times per day.
> Is this operation really a constant-time copy? What about space?

Tags are merely references to an already existing object and revision.
Doing a few dozen tags a day will take up practically nothing in the
terms of disk space. In large sites that do a tag for every checkout,
they might be creating hundreds of tags per day.

In fact, copying is the same thing and also takes up no time to do and
extremely little space. Reorganizing your layout is really no
different than copying/tagging. Directories will instantly be moved
without taking up any additional space (except for a few bytes for
referencing the move). When you say you can't "reorganize", do you
mean you'd like to except there's too much to do, or that your
repository is the way your users want it?

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2010-11-11 15:33:40 CET

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.