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

Re: "svn diff" and "svn log" timestamp weirdness

From: John Peacock <jpeacock_at_rowman.com>
Date: 2005-08-31 22:16:56 CEST

Ben Collins-Sussman wrote:
>
> I agree! Can you submit a patch which does both things?
>

I would except I have to fight with Brane first. ;-)

Branko Čibej wrote:
> If you want to be perfectly correct (not perfectly precise), you have
> to return the range of revisions that falls within the precision of
> the timestamp given in the query. So, "svn log -r{yesterday}" should
> give you a log of all commits made yesterday, not just the one
> revision where we happen to decide yesterday started.

And how would you propose that we add precision to the existing call? I
agree with you that being able to match timestamps in an intelligent and
configurable fuzzy way would be vastly superior to the existing hard
cut, but I don't see how to do that.

What about something like this:

        svn log -r{2005/08/30}:{2005/08/30}

would return all log commits on that date (regardless of time). And this:

        svn log -r{"2005/08/30T1530"}:{"T0001"}

would return all commits in the full minute of 15:30, just like this would:

        svn log -r{"2005/08/30T1530"}:{"2005/08/30T1531"}

> -1 on changing the way we store timestamps or the search algorithm,

Is that a hard veto or a "we haven't discussed this sufficiently yet"
veto of what Sussman suggested? Would you have less argument with
something that resolved some subsecond precision but abandoned the
fiction of the current scheme (I'm thinking precision to 100ths of a
second)?

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 31 22:17:22 2005

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.