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

Re: Space wasting

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2004-03-09 13:40:40 CET

On 2004-03-09 13:22:21 +0100, Erik Huelsmann wrote:
> Why would I be wrong?

You said "Retrieving or sending full text-bases will make the
Subversion communication protocols *much* slower than they currently
are.". The point was to remove the text-bases when one doesn't need
them (or very rarely); in this case, communication protocols wouldn't
be slower (well, that would be the user's responsability to choose
between keeping or removing some text-bases, but if he knows what he
does, no problem).

Concerning the diffs (for updates I assume), well, it may take longer
to send diffs rather than new versions, in particular for binary files
(that may contain compressed data).

> Subversion *does* do diffing for binary files.

Hmm... yes, I first thought you were talking about "svn diff". Sorry.

> The text-base is usefull for non-networked operation with diff and
> revert as well as determining which files actually changed: How do
> you propose to tell whether a file has been modified if you have
> nothing to compare it with?

2 possibilities:
  * an MD5 checksum;
  * the ctime under Unix, if information like "if the ctime has this
    value, then this is an unmodified file" is stored somewhere in
    the .svn directory (this would be the fastest way).

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 9 13:41:06 2004

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.