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

Re: delta generation

From: Jared Hardy <jaredhardy_at_gmail.com>
Date: 2007-05-23 05:12:06 CEST

On 5/22/07, Simon Butler <smcbutler@gmail.com> wrote:
> hi, i'm interested in seeing the size of the deltas for my managed
> binary files. can someone recommend an svn command that will output
> this for, say, HEAD and HEAD-1 ?

If you have access to the repository storage, and it is FSFS, you can
run this command:

ls -al /<subversion-dir>/<repo-name>/db/revs/
(dir is the DOS equivalent to ls, but I use MinGwin to provide 'ls' in
Windows consoles)

Each revision is stored as a numbered file, where the number is the
same as the revision number it represents. HEAD would be the last
number on the list, and its file size is equivalent to the delta
between HEAD and [HEAD-1]. Each revision stores all the committed
files, so the size shown is the combined deltas of the entire atomic
commit set, but that may still be useful.

> i'm trying to determine if a very small change in the application view
> of this binary db file translates to a small delta svn sends to the
> repos.

I don't know of a command that gives you delta-only information per
file. I guess that might be interesting information. I wonder if one
could run xdelta simulations on their own, to get an approximation?

:) Jred

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 23 05:12:26 2007

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.