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

Re: Future dates files corrupt the entries file when commited

From: Ben Reser <ben_at_reser.org>
Date: 2004-10-11 23:08:52 CEST

On Sun, Oct 10, 2004 at 12:11:41AM -0000, arividar@tigris.org wrote:
> When I added and commited the file IMG_0189.JPG the "text-time" field in the
> entries file has corrupt time info. The file didn't have any date assigned to
> it or was dated into the future - not sure. When I "touched" the file to set
> its file date to today things started to work again.
>
> To reproduce. Set a file date into the future on a WinXP. Add the file commit
> it into a http: web_dav repository on Linux. Then do "svn status" and the
> following error message is shown:
>
> C:\webprojects>svn status
> svn: XML parser failed
> in 'projects/webarividar/implementation/integration/040928_master'
> svn: Date conversion failed
>
> Then check the entries file and you should see a corrupt text-time entry as
> shown below:
>
> <entry
> committed-rev="25"
> name="IMG_0189.JPG"
> text-time="1602-09-21T18:36:25.-291732Z"
> committed-date="2004-10-09T23:50:31.412360Z"
> checksum="a8a902c598a7733f8bd96ef9165453fe"
> last-author="arividar"
> kind="file"
> prop-time="2004-10-09T23:48:22.421875Z"
> revision="25"/>

Someone brought this up before. It's a flaw in Windows as far as I
concerned becasue it reports the date wrong. Not sure there is anything
we can do about that.

-- 
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 Mon Oct 11 23:09:06 2004

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