[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 04:26:13 CEST

--- Greg Hudson <ghudson@MIT.EDU> wrote:
> 2. Pick a different separator for ranges, which
> isn't used in dates.
> Looking at the punctuation symbols on my
> keyboard, there isn't a
> good choice other than maybe "--" or "::".

What's wrong with ','? In fact, I think it may be
possible to support the math notation for ranges (ie
using parentheses for exclusive and brackets for
inclusive; both with escaping or quotes, of course).

I don't have a copy in front of me. What does ISO
8601 say about range syntax?

> 3. Nuke the -D option, and consider dates to be a
> special syntax of
> revision names; perhaps they would need to be
> enclosed in
> brackets. So we'd have "-r '[2002-10-10]:23'"
> for the range {rev
> as of 2002-10-10} to {rev 23}. Of course, then
> all dates have to
> be shell-quoted, since shells are rather
> proprietary about the
> various kinds of brackets.

I like this in combination with the above. For
example, "-r '[2002-10-10 16:00:00,23)'".

> 5. Try to intuit whether a colon is a date-range
> separator or part
> of a date. '2002-10-10 16:23:12:2002-10-11
> 12:10:06' is pretty
> ugly, though.

Ugly or not, my experience with intuiting is that it's
really bad when the computer intuits something the
human doesn't.

> Which should I implement?

I vote (not that it counts for much :-) for a
combination of 2 and 3.

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 04:27:30 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.