[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: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2005-09-01 08:32:17 CEST

On Thu, Sep 01, 2005 at 02:12:55AM -0400, Greg Hudson wrote:
> On Wed, 2005-08-31 at 19:24 -0700, Justin Erenkrantz wrote:
> > The only case I can come up with is co/up that would fit that scenario
> > where we have to pick a single revision.
>
> blame, cat, copy, export, info, ...
>
> brane is proposing a pretty deep architectural change here.

To do it correctly, yes, it would require changes. But, having the
DATE-based revision usage expecting a one-to-one mapping from a
non-specific date value is a bit wrong.

However, I think a 'simple' approach wouldn't be that hard: you'd tweak
parse_one_rev and svn_parse_date to set the date to the end of the
minute boundary rather than the beginning when microseconds aren't
specified. It'd result in something more intuitive for the user rather
than doing it at the beginning of the minute boundary. -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 1 08:33:09 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.