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

RE: RE: possible bug

From: Andy Cutright <Andy.Cutright_at_borland.com>
Date: 2005-06-27 22:32:33 CEST

hi

thanks for the response. i would like to be able to use the timestamp as
the key for a particular revision. i'm working on an abstraction of
various source code control engines, and the timestamp is a structure
that all source code control engines provide. this gives me a way to
present consistent version information to the clients of the
abstraction, no matter what engine is being used for an implementation.

if i can't use the information returned by svn log that way, i just need
to find a way to work around that. it's not clear to me from the
documents that the log information does not map directly to a particular
revision. as i said earlier i can understand that if i make a request
using a less specific date like 2005-05-20 that subversion is going to
default to midnight, or 00:00:00, and i'm not going to get changes made
at 8:00 am that date. given that a log lists a specific timestamp, and
subversion can retrieve a version based on timestamps, it feels to me
like the log version would map to that particular revision.

cheers,
andy

> -----Original Message-----
> From: Dale Worley [mailto:dworley@pingtel.com]
> Sent: Monday, June 27, 2005 12:44 PM
> To: dev@subversion.tigris.org
> Subject: RE: possible bug
>
> > From: Andy Cutright [mailto:Andy.Cutright@borland.com]
> >
> > if we regard the timestamp as the point at which the
> repository was in
> > the old state, what's the point of the timestamp?
>
> Uh, the point is so that the person looking at the "svn log"
> listing can tell when the change was made.
>
> Perhaps time-based -r values can't be used "with precision",
> but if you want to obtain a precise revision, you wouldn't
> use them anyway. Time-based -r values are so you can
> "retrieve the codebase as it was on 15 May". In cases like
> that, if you really want precision, you "svn checkout
> -r{2005-05-15}" and then look at the output (or "svn info")
> to determine which rev number you got.
>
> Dale
>
>

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

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