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

Re: not storing diffs of binary files

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 8 Aug 2011 23:33:06 +0300

Mark Phippard wrote on Mon, Aug 08, 2011 at 16:28:42 -0400:
> On Mon, Aug 8, 2011 at 4:26 PM, Daniel Shahaf <d.s_at_daniel.shahaf.name>wrote:
>
> > A quick test in a new repository shows that delta storages is used for
> > the second revision of a file.
> >
> > % svn add iota
> > % svn ci -mm
> > % echo>>iota
> > % svn ci -mm
> > % svn info iota
> > Last Changed Revision: 2
> > % grep DELTA ../r1/db/revs/0/2
> > Binary file 2 matches
> >
>
> I was going to followup to clarify but since I said to read the doc, I did
> not bother.
>
> All revisions are "deltified" but some are deltified against an empty
> stream. I do not know if the diagram is accurate, but revisions 1 and 2 of
> the file are both against the empty stream.
>

No. r2 is deltified against r1:

% grep -a DELTA /tmp/svn/r1/db/revs/0/2
DELTA 1 605 37

> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
Received on 2011-08-08 22:33:55 CEST

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.