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

possible bug

From: Andy Cutright <Andy.Cutright_at_borland.com>
Date: 2005-06-21 00:28:28 CEST

hi all,

i'm using the javahl to access a local FSFS repository. i've got a
working copy sitting on the same machine as the repository, so i believe
i'm invoking code in lib_ra_local. i'm running svn 1.2 rc4, on multiple
platforms, but mostly windows XP.

i'm calling SVNClient.logMessages() to get the revision history for any
particular file in the repository. this returns a list of LogMessage
objects. this LogMessage object includes the date for the particular log
message. since subversion supports accessing the repository by date, i'm
using this date as the key to retrieve a particular version. however, i
cannot get access to the version i expect unless i increment the value
of the date by 1.

for example, if i have 4 versions of a particular file with these dates:

1119305411343
1119305412968
1119305414859
1119305416750

to get access the version for any of those dates i have to submit the
date as

1119305411343 + 1
1119305412968 + 1
1119305414859 + 1
1119305416750 + 1

to get access to the version i'm expecting. this feels like a bug to me.
the log message has a particular date associated with it, but the exact
date can't be used to retrieve the version with which it associated.

i've not yet delved into the code path to determine where this bug (if
it is one) lives. any help appreciated.

cheers,
andy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 21 00:29:10 2005

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