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

RE: malformed file problem -- version 1.5.7

From: James D. Parra <jamesp_at_musicreports.com>
Date: Fri, 15 Jan 2010 10:01:10 -0800 (PST)

 
> Is there a way that I can repair this?
No idea, sorry. But:

> Is there a way to roll back to revision 11529 and start there?

Try svnadmin dump with the -r parameter to dump just the revisions you
want to keep, then svnadmin load to load them into a new repository.
Any checkouts of r11529 or earlier should be OK; if you have a later
checkout then you'll need to delete it and re-checkout.

> Should I remove all the revision number files greater that 11529

Hand-editing the repository sounds like a bad idea*... you might get rid
of this corruption but introduce a different corruption.
Using dump/load should give you a valid repository.

Kind regards,

Jon

[*] It's number zero on the "Subversion Worst Practices" guide:
http://www.red-bean.com/fitz/presentations/2007-07-27-OSCON-svn-worst-pr
actices.pdf
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thank you, Jon, for the info.

Before I do such a major rollback, is there a way to rollback a particular
project within the repos without affecting other projects or, to be more
concise, maintain revision numbers for the other projects that are not
affected by the mal-formed file error?

Thanks again for your help.

James
Received on 2010-01-15 19:01:48 CET

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