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

Re: export, checkout, commit performance

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2006-03-14 09:25:59 CET

Philip Martin writes:
> "Peter N. Lundblad" <peter@famlundblad.se> writes:
>
> > An alternative might be to fetch the timestamp of the working file
> > when copying it in the svn_wc_transmit_text_deltas function and use
> > that timestamp in the entries file in the post-commit processing.
>
> Nearly right. We could fetch/store the working timestamp when copying
> and then compare the stored and working values during post-commit and
> only do the byte-for-byte comparison if the timestamp has changed.
> This is essentially the same algorithm used to detect other text
> changes.
>

OK, that avoids commands such as status doing the expensive check each
time afterwards. I'll look into this and also keeping the new base
checksum so we don't calculate it twice as we do now.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 14 09:26:31 2006

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