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

svn: Found malformed header in revision file

From: Paweł Tęcza <ptecza_at_uw.edu.pl>
Date: 2007-10-30 13:47:06 CET

Hello All,

At first, thanks a lot for great SCM tool from old CVS user! :)

I use Subversion 1.4.3 on Ubuntu 7.04 box:

ptecza@mysvnhost:~$ dpkg -l subversion\* |grep ^ii
ii subversion 1.4.3dfsg1-1ubuntu1 Advanced version control system
ii subversion-tools 1.4.3dfsg1-1ubuntu1 Assorted tools related to Subversion
ptecza@mysvnhost:~$ cat /etc/issue
Ubuntu 7.04 \n \l

Recently I've noticed problem with two old revisions of my project
which uses FSFS storage backend. Because of them I can't do new project
checkout or repository verify:

ptecza_at_mydevhost:~$ svn co svn+ssh://mysvn.host/path/to/project .
[...]
svn: Found malformed header in revision file

ptecza@mysvnhost:~$ svnadmin verify /path/to/project
[...]
* Verified revision 563.
svnadmin: Found malformed header in revision file

However I still can play with current working copy of the repository:

ptecza@mydevhost:~/working/copy$ svn up
At revision 2177.

As you can see my project has ~2200 revisions, but corrupted revisions
are in the middle of the project history.

I can get the details of all revisions except of two following revisions:

ptecza@mydevhost:~/working/copy$ svn log -r 563
------------------------------------------------------------------------
r563 | subversion | 2007-03-28 10:04:57 +0200 (Wed, 28 Mar 2007) | 1 line

web commit by ptecza: * Some description
------------------------------------------------------------------------

ptecza@mydevhost:~/working/copy$ svn log -r 564
svn: Found malformed header in revision file

ptecza@mydevhost:~/working/copy$ svn log -r 565
svn: Found malformed header in revision file

ptecza@mydevhost:~/working/copy$ svn log -r 566
------------------------------------------------------------------------
r566 | subversion | 2007-03-28 10:36:18 +0200 (Wed, 28 Mar 2007) | 1 line

web commit by xahil: * Other description
------------------------------------------------------------------------

I was trying to change the props of the corrupted revisions.
It successed, but it seems that it didn't fix the revisions:

ptecza@mydevhost:~/working/copy$ svn proplist --revprop -r 565
Unversioned properties on revision 565:
  svn:log
  svn:author
  svn:date

ptecza@mydevhost:~/working/copy$ svn propget svn:log --revprop -r 565
web commit by xahil

ptecza@mydevhost:~/working/copy$ svn propget svn:author --revprop -r 565
subversion

ptecza@mydevhost:~/working/copy$ svn propget svn:date --revprop -r 565
2007-03-28T08:19:39.603004Z

ptecza@mydevhost:~/working/copy$ svn propedit svn:log --revprop -r 565
Set new value for property 'svn:log' on revision 565

ptecza@mydevhost:~/working/copy$ propedit svn:author --revprop -r 565
svn: Value will not be set unless forced

ptecza@mydevhost:~/working/copy$ svn propedit svn:author --force --revprop -r 565
Set new value for property 'svn:author' on revision 565

ptecza@mydevhost:~/working/copy$ svn propedit svn:date --force --revprop -r 565
Set new value for property 'svn:date' on revision 565

ptecza@mydevhost:~/working/copy$ svn log -r 565
svn: Found malformed header in revision file

Could you please help me to fix them? I've just googled the Net
and searched the archive of that mailing list, but I haven't found
any valueable hints for me.

The good news it that my hard disk seems to be OK, because I checked it
using fsck.

My best regards,

Pawel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 30 13:48:08 2007

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.