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

Re: JavaHL bug in 1.7 retrieving mergeinfo

From: Mark Phippard <markphip_at_gmail.com>
Date: Sat, 6 Aug 2011 21:29:17 -0400

On Fri, Aug 5, 2011 at 5:20 PM, Mark Phippard <markphip_at_gmail.com> wrote:

> The attached Java program shows a bug in 1.7 when calling the
> getMergeinfoLog API. If the discoverChangedPaths boolean is set to true we
> do not get back the expected results. When it is false, the API works
> properly.
> NOTE: in my test you get no results back when it fails. However, when the
> same test is run against the root of our tree you do get results, you just
> do not get the right results.

I have updated the attached test to make the failure scenario a little more
clear to someone that runs this. I also future-proofed it a bit in case the
items it is checking for are eventually merged (in which case the test would
not be valid any more).

It still boils down to the discoverChangedPaths boolean breaks the
functionality. I have traced the source code into svn_client and it all
seems OK to me. There is nothing obvious about this particular parameter
that seems wrong. Maybe the code that calls svn_client_log5 is not properly
setup to handle the additional callbacks for the changed paths? That is all
I can think of.

Mark Phippard

Received on 2011-08-07 03:29:47 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.