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

SVN & CC.NET - Windows date parser & issue #408

From: Jan Sandquist <J.Sandquist_at_telia.com>
Date: 2004-02-13 20:17:42 CET

Hi!

[sorry if you see this twice, not sure it got sent the first time so to say...now I got the
chance to edit it also and Cc the ccnet-developers list.]

Also sorry if this is (really) old news. I've searched through the mail archives but only
found issue #408 "date parser rewrite", and a single email from Mike Mason related to
SVN integration in CC.NET. An "old" date parser is currently used on Windows if I
got it right. I think this is addressed by the patch in #408, right?

Problem seen on Windows XP Pro with the prebuilt SVN 0.37 Windows binaries.
On Red Hat 7 (my local build) it works fine with 0.36.

This is what I see on Windows XP:
  D:\jansa\MUMS\product\trunk\src>svn log -r {"2004-01-20 01:12:15 GMT"}
  svn: Syntax error in revision argument '{2004-01-20 01:12:15 GMT}'
  D:\jansa\MUMS\product\trunk\src>svn log -r {"2004-01-20 01:12:15"}
  ------------------------------------------------------------------------
  D:\jansa\MUMS\product\trunk\src>svn log -r {"2004-02-01 01:12:15"}
  ------------------------------------------------------------------------
  r34 | Jan | 2004-01-30 16:03:04 +0100 (Fri, 30 Jan 2004) | 1 line
  ------------------------------------------------------------------------
  D:\jansa\MUMS\product\trunk\src>
A related one might be:
  D:\jansa\MUMS\product\trunk\src>svn log -r {"0001-01-01 00:00:00"}:{"2004-02-12 00:00:00"}
  svn: Syntax error in revision argument '{0001-01-01 00:00:00}:{2004-02-12 00:00:00}'
  D:\jansa\MUMS\product\trunk\src>
with or without the 'GMT'. This is apparently the MinDate in .NET, and used by CC.NET.
What is the minimum date supported by SVN?
Does the locale settings matter?

I've currently patched CC.NET so it works fine with Subversion so just curious about issue #408
before I submit a possible patch to CC.NET, or not...

Cheers,

-- Jan
Received on Fri Feb 13 20:32:07 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.