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

How to fix broken checkout?

From: James Cloos <cloos_at_jhcloos.com>
Date: 2005-12-25 19:52:37 CET

My gentoo laptop had been refusing to deal with svn over http until I
recompiled svn w/o the nls USE flag. I can now co and up over http,
but some of my checkouts have broken dates in the entries files.

Cleanup fails with the same error up gives:

,----
| :; svn cleanup
| svn: XML parser failed in '.'
| svn: Bogus date
`----

An example excerpt from an entries file is:

,----
| <entry
| committed-rev="897"
| name="substitute.mak"
| text-time="1906-01-19T03:19:27.219104Z"
| committed-date="2005-11-11T18:08:07.486987Z"
| checksum="4df1f956bd265b640f4892dacd1b807a"
| last-author="jcollie"
| kind="file"
| prop-time="1906-01-30T16:06:39.631776Z"/>
`----

Note the bogus text-time and prop-time.

I can write a script to recursively update those time strings, but
am unsure what they should be. (Not unsure of the format of course,
just the effects of specifying various dates.)

What should the text-time and prop-time values be referencing?

The mtime/ctime/atime of my copy of the file for the repo I quoted
from above are 2005-11-15T20:45:20.000000000Z. Should I use that
time when fixing the entries files?

Is there a command I missed that already does such a fixup?

Rm(1)ing and doing a new checkout would mean at least a couple of
days of wan time, so I'd prefer to avoid that if possible....

-JimC

-- 
James H. Cloos, Jr. <cloos@jhcloos.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 25 19:54:46 2005

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.