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

Re: Merge tracking: Getting only revision numbers in svn log

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 22 Aug 2008 14:26:15 -0400

On Fri, Aug 22, 2008 at 2:24 PM, Eric Gillespie <epg_at_pretzelnet.org> wrote:
> Eirik Bjørsnøs <eirbjo_at_gmail.com> writes:
>> a) Is there a general interest in adding a switch that will make svn
>> log only return revision numbers for merged revisions? Or is this
>> somewhat of a corner case that normal users will never run into?
> Pass FALSE for discover_changed_paths and an empty array for
> revprops to svn_ra_get_log2 (or svn_client_log). Then only the
> revision and has_children flags will be filled in the
> svn_log_entry_t structures you receive.

Nice tip! And so obvious as to overlook.

> Though, I really don't think you're causing any load by receiving
> the changed_paths and revprops. All that information is (at
> least for fsfs) easily available without a lot of work. It's not
> like requesting a diff, or trying to log a path forward, or
> anything like that.

The network overhead, especially for changed paths, can be substantial
enough to notice.

Mark Phippard
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-22 20:26:29 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.