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

Re: New SHA1 property for nodes returned 'svn ls --xml' invocations.

From: Paul Hammant <paul_at_hammant.org>
Date: Tue, 1 Nov 2016 07:41:19 -0400

With a maintained server-side merkle tree for repos/users y'all would be a little closer to the 'have set' fu of Perforce :)

Sent from my iPhone

> On Nov 1, 2016, at 6:29 AM, Julian Foad <julianfoad_at_apache.org> wrote:
>
> Branko ─îibej wrote:
>> Paul Hammant wrote:
>>> I still think it would be good for sha1's to be calculated for directories *too*. Better still if those obeyed user permissions too.
>>
>> Server CPU is a limited resource. File content hashes are not affected
>> by user permissions, so they can be computed once and reused. A hash of
>> a user-specific view of directory contents would have to be recalculated
>> at every access.
>
> It would only have to be recalculated when the user's access has
> changed. More precisely, when the user's access doesn't match that of
> any already-cached result. That can be more efficient.
>
> And server network IO is a limited resource too. Any server-side
> calculation required might in any case be preferable to sending all
> the data out so that each client can calculate the result itself.
>
> - Julian
Received on 2016-11-01 12:41:27 CET

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