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

Re: svn log line deltas

From: Anselm R. Garbe <anselmg_at_t-online.de>
Date: 2004-03-18 08:14:15 CET

One remark: With deltas I mean only the number of removed and added
lines (-n +m)

On Thu, Mar 18, 2004 at 07:44:42AM +0100, Anselm R. Garbe wrote:
> I think deltas should be saved per revision as meta information after each
> commit (which will be constant), so this would be a cheap operation in
> my eyes. If I understand it correctly, how svn handles commits, the new
> algorithm should look as follows:
>
> Commit:
>
> 1. Receive data from client
> 2. Use new revision of the file (which is stored as it is) and generate diffs
> for older revisions against it.
> 2.a) Store each diff per revision
> 2.a) Store deltas for each revision as meta information about a revision
>
> Log:
>
> 1. For all revisions get meta information (revision id, author, date,
> commit log, deltas)
> ( 1.a) Generate some dynamic infos, if needed )
> 2. Transmit data to client
>
> What would be expensive on saving to deltas for each revision per file?
>
> Regards,
> --
> Anselm R. Garbe ><>< www.ebrag.de ><>< GPG key: 0D73F361

-- 
  Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 18 08:15:03 2004

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