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

Re: pristine store database -- was: pristine store design

From: Neels J Hofmeyr <neels_at_elego.de>
Date: Tue, 16 Feb 2010 23:52:57 +0100

Greg Stein wrote:
> On Tue, Feb 16, 2010 at 16:22, Johan Corveleyn <jcorvel_at_gmail.com> wrote:
>> OTOH, I guess a 0 bytes pristine has to be handled specially anyway
>> (what's the checksum of 0 bytes), no?

SHA1: da39a3ee5e6b4b0d3255bfef95601890afd80709
MD5: d41d8cd98f00b204e9800998ecf8427e

;)

>
> Oops. You're right. I meant a null column value, as I documented in
> the schema file.

It *is* kind of useless to store an empty pristine :)
But given that empty files don't happen often in version control it could be
just as silly to special-case it at all.

~Neels

Received on 2010-02-16 23:53:39 CET

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