You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ibañez, Fernando <fe...@tecnalia.com> on 2014/09/29 17:43:36 UTC

Missing node-id in node-rev: how to solve?

Hi all,

I'm just handling a SVN server (version svn 1.5.1) on a Debian distribution.

One of my repositories seems to be corrupted just after the last commit (revision 71). Svnadmin command returns as correctly verified all revisions up to 70, but when facing revision 71 it returns "Missing node-id in node-rev". Another commands like commit, update or show log return the same error.

How can I get back to revision 70 and make a new commit with my last changes?  I do not mind loosing r71, but need to recover repository normal behavior.

Thanks in advance,

Fernando


Fernando Ibáñez Alameda


Re: Missing node-id in node-rev: how to solve?

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Ibañez Alameda, Fernando wrote on Mon, Sep 29, 2014 at 15:43:36 +0000:
> Hi all,
> 
> I'm just handling a SVN server (version svn 1.5.1) on a Debian distribution.
> 
> One of my repositories seems to be corrupted just after the last commit (revision 71). Svnadmin command returns as correctly verified all revisions up to 70, but when facing revision 71 it returns "Missing node-id in node-rev". Another commands like commit, update or show log return the same error.
> 
> How can I get back to revision 70 and make a new commit with my last
> changes?  I do not mind loosing r71, but need to recover repository
> normal behavior.

Create a new repository, use dump|load (passing '--deltas -r 0:70' to
dump), copy your hooks and configuration over (hooks/, conf/,
db/fsfs.conf if you changed it).

Daniel
(There is also a way to do it in-place, but we don't generally recommend
it since it involves direct manipulation of the DB.)