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

Re: Eliminating the text-base penalty

From: David Mankin <mankin_at_ants.com>
Date: 2002-09-25 09:46:47 CEST

On Tuesday, September 24, 2002, at 10:59 PM, Greg Hudson wrote:

> Here's a brain dump on getting rid of the text-base penalty, since
> some people expressed interest.
>
> Option 1 is to, given the appropriate checkout option, omit the text
> base and instead store a checksum of the working copy file
...
> Option 2 is to implement read-only working copies. The idea here is
> that, given the appropriate checkout option, files are checked out
> read-only with no text-base. When you want to edit a file, you have
> to do an "svn edit filename" to make it read-write; this creates a
> text-base (either by pulling it from the repository or by
> de-substituting it from the working copy; the latter option doesn't
> require the network but would require stashing some notes about what
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> substitutions we performed on each file). So you only pay a text-base
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> penalty on files you've chosen to edit.

You mean, like, a "diff"? :-)

I like both options, actually, and can see times when each would be
valuable separately (and maybe together?). Option 2 has benefits you
mentioned, Greg. Option 1 enables the "save disk space by using
ra_local", as Florin mentioned.

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 25 09:47:54 2002

This is an archived mail posted to the Subversion Dev mailing list.

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