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

Re: Date Conversion Failed for XP Null Dates

From: Ben Reser <ben_at_reser.org>
Date: 2004-08-24 22:16:34 CEST

On Thu, Aug 19, 2004 at 01:52:09PM -0400, Aron J. Vandermeyden wrote:
> Good Day good people,
>
> Problem summary:
> The XML parser is choking on NULL dates (or at least they show up as blank =
> in Explorer. In the command line they are actually "11/18/1617 09:11 PM=
> ") on the Windows XP client side.
>
> Client Description:
> Windows XP Home Edition
> TortoiseSVN 1.0.8, Build 1430, UNICODE
> Subversion 1.0.6, (r10360)
> apr 0.9.5
> apr-iconv 0.9.5
> apr-utils 0.9.5
> berkeley db 4.2.52
> neon 0.24.7
> OpenSSL 0.9.7d 17 Mar 2004
> zlib 1.2.1
>
> Server Description:
> Subversion 1.0.5 as a module of Apache 2, but I don't believe that this pro=
> blem is even reaching the server. I think this is a client issue.
>
> More Detail:
> I am using the TortoiseSVN client on Windows XP to connect to a linux SVN s=
> erver. I use this to keep track of a ColdFusion website I am building. =
> Some files I have that I want to check in to SVN have modified dates that=
> are blank... or at least they appear to be blank when I view them in Exp=
> lorer, though the command line gives me a date of "11/18/1617 09:11 PM".=
> I think that is the date used by XP to represent a NULL date. When I f=
> irst check these files into SVN, Tortoise (I don't think the error is Tor=
> toise because it is simply running the SVN client at this point, and runn=
> ing cleanup, where I actually get an error message, says the error messag=
> e is from Subversion) chokes (stops processing the files - it actually d=
> egrades quite nicely - no nasty error messages or such) because it can't =
> understand this date and all files below this one are not given their ext=
> ra icons. I understand that it cant understand the wacky date - they are=
> supposed to be NULL dates, and the date is actually before the Linux Epo=
> ch, but it would be nice if the client could work through this and keep o=
> n going. =20
>
> Workaround:=20
> Touch all the files and then hand-edit the entries file to have more sane d=
> ates in it, and then run the cleanup. If I run cleanup before touching t=
> he files, I get an error message:=20
> Subversion reported an error while doing a cleanup!
> XML Parser failed in '<path of file>'
> Date conversion failed

I don't think there is any sane way of supporting this. Also I don't
get how you get files with NULL dates. Sounds like an XP bug.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 24 22:16:50 2004

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.