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

RE: branching question.

From: Robert Hunter <robert.hunter_at_gen-i.co.nz>
Date: 2005-03-09 23:28:38 CET

John Harrold wrote:
> I'm thinking about using subversion to manage documents and other stuff at
> work. I want to take advantage of it's branching abilities, but I'm not
sure
> how branches are handled. Based on the book:
>
> http://svnbook.red-bean.com/en/1.0/svn-book.html#svn-ch-4-sect-1
>
> It seems that when a branch is created, a new "copy" is created. In
> the subversion database, are two separate "copies" stored or are future
> revisions of the branch just stored as diffs from the version present
> when the branch was created. The latter seems to be the most logical and
> efficient. However, the documentation seems to indicate that a separate
> copy is stored. This may be addressed in the documentation, and I may
> have missed it.

It's there, in a sidebar entitled "Cheap Copies".

In short: Yes, the database only stores the differences rather than
entire byte-for-byte copies. Don't worry about space.

(by the way, the link you used above relates to the book
for the older 1.0 release of Subversion. If you're considering
a new Subversion system, then by all means use the more recent
1.1 version. In addition to the bugfixes, you get some nice
features like the new flat filesystem back-end, FSFS.)

-- 
Robert Hunter
*****************************************************************************
This communication, including any attachments, is confidential.
If you are not the intended recipient, you should not read it
- please contact me immediately, destroy it, and do not copy
or use any part of this communication or disclose anything about it,
Thank you.
Please note that this communication does not designate an information system
for the purposes of the Electronic Transactions Act 2002
******************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 9 23:31:55 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.