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

Re: How to fix broken checkout?

From: <kfogel_at_collab.net>
Date: 2005-12-26 15:26:27 CET

James Cloos <cloos@jhcloos.com> writes:
> 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 last time the working file (and working props-file) was known to
be in sync with the text base (and prop base).

If you have no local modifications, then just setting the time to the
value from the working file (and .svn/props/<foo>, .svn/dir-props)
should do the trick. See

   http://svn.collab.net/repos/svn/trunk/subversion/libsvn_wc/README

for details.

-Karl

-- 
www.collab.net  <>  CollabNet  |  Distributed Development On Demand
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 26 16:57:40 2005

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