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

RE: "Unable to parse reversed revision range" when merging from trunk to branch

From: Jens Christian Restemeier <jens_at_playtonicgames.com>
Date: Tue, 4 Jul 2017 15:10:28 +0100

I ran "make tests", which fails for undefined references to gmock... I'll try your instructions.
I didn’t think you would look at this right away... :)

-----Original Message-----
From: Daniel Shahaf [mailto:d.s_at_daniel.shahaf.name]
Sent: 04 July 2017 15:01
To: Jens Christian 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 Christian Restemeier wrote on Tue, 04 Jul 2017 14:43 +0100:
> 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...

gmock is not required for running the tests; you only need python 2.7.
To run a single test, the invocation is

    make mergeinfo-test && ./subversion/tests/libsvn_subr/mergeinfo-test
    make check TESTS=subversion/tests/libsvn_subr/mergeinfo-test

What made you think gmock was required?

For future reference, when sending patches use either 'svn diff' or 'diff -u' to produce unified diff formatted output.

Note that Bert committed a test based on your test program in r1800754. (I haven't checked how your new patch relates to that revision)

Feel free to join #svn-dev on freenode IRC as well.



> 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.
Received on 2017-07-04 16:10:42 CEST

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