RE: [PATCH]Can we accept JavaHL Revison.Number.Number(-1)?
From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: Wed, 26 Mar 2008 23:18:12 +0530
Hi Mark,
>> If he passes youngestRevision as Revision.Number(-1) and other revision
>Can you explain some more how or why a function like this needs to be
The indexing module that I work on uses JavaHL.
On regular intervals my indexing module is run to do indexing of recent
My indexing module runs 'log' between r{LASTUPDATETIME}:HEAD.
Consider LASTINDEXEDTIME='2007-12-25' and no commits in my repository
Now my log give a log entry for r50.
How much ever time you run this log operation it would give r50.
Consider the case when I run this indexing code across 1500 repositories
I end up indexing atleast one revision of each repository so frequently.
LastIndexedRev=SVNClientObj.getRevisionNumber(null, url_to_my_repo, Revision.DateSpec(MyLastIndexTime))
If HeadRev == LastIndexedRev:
In my above usecase I do not need YoungestRev for the sake of completeness I would like to support that.
>Maybe the underlying native API you want to call supports this
> /**
>Internally, this could call the native API and hide the other details.
As mentioned above I need date to rev possibly for others 'COMMITTED' to rev etc.
With regards
|
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.