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

Re: svn log questions

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-12-10 22:38:40 CET

On Dec 10, 2004, at 3:08 PM, Bradley Schick wrote:

>> The reason we defined PREV == COMMITTED-1 is because it saves network
>> round-trips.
>
> Ah, at least I undestand the tradeoff now.
>
>> But maybe in svn 2.0 we could switch to your definition instead.
>> Maybe it's worth the extra traffic...?
>
> When commands use -rPREV I'd assume some server communication
> is always required to complete it??

Well, no server communication is required to convert the string 'PREV'
into an actual number. We just grab the 'last-changed-revision' field
from .svn/entries, and then subtract 1.

Then, later on, we probably use that number when talking to the
repository. But there's no need to ask the repository for
history-tracing.

> If that is true, then I'd think adding
> one more round-trip might be acceptable. But if the proposed change
> to PREV would introduce server communication where there was
> previously none, then it might be more of a problem.
>
> Anyway, thanks for all your time on this. Should I file a feature
> request for 2.0?
>

Sure, file an 'enhancement' request, but in 'unscheduled' milestone...
so we remember to discuss it on the dev@ list later on.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 10 22:40:58 2004

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.