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

Re: svn -D syntax

From: Noel Yap <yap_noel_at_yahoo.com>
Date: 2002-10-17 13:47:09 CEST

--- Branko Čibej <brane@xbc.nu> wrote:
> Noel Yap wrote:
>
> >I like this in combination with the above. For
> >example, "-r '[2002-10-10 16:00:00,23)'".
> >
> That's assuming a revision number can never look
> like a date. But it
> can, 1622 can be a revision number, or it can be 22
> minutes past 4 p.m.
> So you still need a way to disambiguate between date
> and revisions.

This is a good point. In fact, IIRC, strict ISO 8601
says that 2002 can either be a time or a date (I'm
assuming Subversion will assume it's a date or is an
invalid date-time).

I suppose something like the "find" and "test" syntax
would be out of the question? For example:
  \( -r '[3,5]' -o -D '[2002-10-10,2002-10-11]' \)

or:
  \( -r '[3,5]' -a -D '[2002-10-10,2002-10-11]' \)

> Oh, and while "inclusive" and "exclusive" have an
> obvious meaning for
> revision numbers, what do they mean for dates?
> Especially if the date
> isn't specified to the last second?

I think eventually, dates will have to have an
implicit value for the time or else it would be
confusing to use pure dates at all. For example, does
2002-10-10 mean the beginning of day or the end of
day. Maybe it means mid-day. It's got to mean
something consistently (and it can't be consistently
random :-).

Noel

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 17 13:47:51 2002

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.