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

Re: date parser

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-01-07 17:26:52 CET

I'd like to call out one particular response, and an associated point.

On Wed, 2004-01-07 at 10:14, kfogel@collab.net wrote:
> A. Document a limited number of formats that we support, state
> explicitly that using anything else is "at your own risk", with
> results neither defined nor guaranteed to be supported in future
> releases.

I think this plan is hopelessly naive. If svn 1.1 breaks, say, MM/DD/YY
date support, or changes its interpretation so that it sometimes means
DD/MM/YY, then we will be blamed as a moving target regardless of what
the svn 1.0 documentation says.

The current date code is not thread-safe. That's a bug. Nobody cares
right now because nobody is using the client code in a threaded program,
but people will care eventually. If we continue to use getdate.y in svn
1.0, we will be put in the unpleasant situation of having to
(practically) sacrifice compatibility in order to get thread-safety.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 7 17:28:07 2004

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