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

Re: Tags and branches

From: Joshua Varner <jlvarner_at_gmail.com>
Date: 2005-08-29 05:52:03 CEST

On 8/28/05, Ben Collins-Sussman <sussman@collab.net> wrote:
> Ron Gilbert wrote:
> > I am really starting to miss being able to tag a revision number across
> > my repository with a text identifier (for a beta release, for
> > example). I know you can create a branch and all coping is lazy so it
> > doesn't take up space, but this is not true for backups (svnadmin
> > dump). All the branches seem to be stored multiple times in the
> > backup file (my backup file doubles when I do a branch).
>
> If you create a tag by running
>
> svn cp URL-of-trunk URL-of-descriptive-tag-name
>
> ... and say, this commit creates r150,
>
> ...then running 'svnadmin dump' won't suddenly create a dumpfile that's
> twice as large. Revision 150 will appear in the dumpfile as nothing but
> a single record which says "make a cheap copy of the trunk directory".
>
> So what exactly are you doing?
>

If you are only dumping a single revision, but do not specify
--incremental, then it will put the full text of the repos. With
a branch this will result in a dump of twice the size. With
incremental the previous revision used for the copy that
made the branch will be referenced, so that the lazy
copy will be present and the size will not double.

See
http://svnbook.red-bean.com/en/1.0/ch05s03.html#svn-ch-5-sect-3.5
http://svnbook.red-bean.com/en/1.0/ch05s03.html#svn-ch-5-sect-3.6
http://svnbook.red-bean.com/en/1.0/re31.html

Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 29 05:53:44 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.