[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: Eric Gillespie <epg_at_pretzelnet.org>
Date: Fri, 22 Aug 2008 11:24:25 -0700

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.

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.

-- 
Eric Gillespie <*> epg_at_pretzelnet.org
---------------------------------------------------------------------
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:24:36 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.