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

RE: possible bug

From: Andy Cutright <Andy.Cutright_at_borland.com>
Date: 2005-06-27 19:37:09 CEST

hi,

do you mean the bit "is subversion off by one day?" i understand that,
but i don't believe that is what i'm experiencing. i understand that if
i supply a date of say may 1st at midnight, that i'm not going to get
the changes that i've made may 1st at 8:00 am.

when i issue an 'svn log' command i get something like this back:

------------------------------------------------------------------------
r5 | acutright | 2005-06-17 11:59:45 -0700 (Fri, 17 Jun 2005) | 1 line

this is the date subvesrion supplies me when i commit a new revision.
i'm assuming, perhaps incorrectly, that the date maps directly to a
particular revision. why is the date listed if it doesn't actually
represent the same thing as revision 5?

if i use the revision number associated with the log i always get the
version i'm expecting. if i use the date associated with the same log
message, i get either no version if i'm trying to checkout the first
controlled version of an element in the repository, or i get the version
just before the the one i'd expect for later commits. if i bump the
command line checkout revision date up by 1 second, i get the version i
expect. if i bump the date up by 1 millisecond using the javahl
libraries, i get the the version i expect.

i see this behavior on the command line and with the javahl libraries. i
could clearly be doing something incorrectly.

cheers,
andy

> -----Original Message-----
> From: Mark Phippard [mailto:MarkP@softlanding.com]
> Sent: Monday, June 20, 2005 5:43 PM
> To: Andy Cutright
> Cc: dev@subversion.tigris.org
> Subject: Re: possible bug
>
> > 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.
>
> Your description sounds a lot like this from the book:
>
> http://svnbook.red-bean.com/en/1.1/ch03s03.html#svn-ch-3-sect-3.3
>
> Mark
>
>
> ______________________________________________________________
> _______________
> Scanned for SoftLanding Systems, Inc. by IBM Email Security
> Management Services powered by MessageLabs.
> ______________________________________________________________
> _______________
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 27 19:38:35 2005

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