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

JavaHL logMessages only one callback

From: <corneil.duplessis_at_gmail.com>
Date: Wed, 19 Aug 2015 10:48:08 +0200

I am trying to find change history and thought that using logMessage will
provide the information.

I am using a call as descibre below:

pegRevision = Revision.HEAD,
ranges = [RevisionRange(Revision.HEAD, Revision.START)]
stopOnCopy = false
discoverPath = true
includeMergedRevisions = true
props = [REV_LOG, REV_DATE, REV_AUTHOR]
limit = -1

May callback function is only called once with the last commit information.

I tried:
stopOnCopy true and false
limt -1, 0, 1000
includeMergedRevisions = true and false
ranges with RevisionRange(Revision.START, Revision.HEAD)

I never receive more than one callback.

Then I tried something different:

determine maxRev after previous list operation.

ranges = RevisionRange(maxRev + "-0")

and now I get all the versions.

It seems as if the RevisionRange(Revision.HEAD, Revision.START) is not
being treated as expected.

Am I misunderstanding the RevisionRange class?

Corneil du Plessis
Received on 2015-08-19 11:48:12 CEST

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

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