I attached an patch with a test to the bug. I can't get gmock to work at the moment, so I have no idea if this test works...
It looks like the URL for gmock has changed since get-deps.sh was written, and it is not distributed as fused files.
Instead of building the rangelists it uses svn_rangelist__parse, which makes the test a bit more compact.
From: Daniel Shahaf [mailto:d.s_at_daniel.shahaf.name]
Sent: 04 July 2017 06:09
To: Jens Restemeier <jens_at_playtonicgames.com>
Cc: Johan Corveleyn <jcorvel_at_gmail.com>; users_at_subversion.apache.org; Stefan Sperling <stsp_at_elego.de>
Subject: Re: "Unable to parse reversed revision range" when merging from trunk to branch
Jens Restemeier wrote on Mon, 03 Jul 2017 20:01 +0100:
> > Am 03.07.2017 um 19:17 schrieb Stefan Sperling <stsp_at_elego.de>:
> > On Mon, Jul 03, 2017 at 03:31:00PM +0100, Jens Christian Restemeier wrote:
> >> Should I open a bug with my findings and the test case?
> > Yes, please open a bug in the issue tracker.
> Done: https://issues.apache.org/jira/browse/SVN-4686
> > A regression test for the subversion/tests tree would be essential.
> > Since you already wrote a test program in C, this file would be a
> > good location for such a test: subversion/libsvn_subr/mergeinfo.c
Stefan meant subversion/tests/libsvn_subr/mergeinfo-test.c .
Received on 2017-07-04 15:44:05 CEST