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

svnadmin: File not found: transaction on svnadmin load

From: Herbert Gerngroß <Herbert.Gerngross_at_brz.gv.at>
Date: 2007-06-03 09:39:46 CEST

Hi,

I am having problems converting one of my SVN repositories to SVN 1.4.
I did a "svnadmin dump", created a new 1.4 repository with "svnadmin
create" and tried to reload the dump with
"svnadmin load mynewrepo < mydump".

Svnadmin then gives me the following error:

...
<<< Started new transaction, based on original revision 5307
...
adding path :
published/WEBERV_20070320_Edikte_Kundmachung/ERV/FB/XMLSchema/ErvFdbMetadaten.xsd
... done.
adding path :
published/WEBERV_20070320_Edikte_Kundmachung/ERV/FB/XMLSchema/ErvFdbPayload.xsd
... done.
svnadmin: File not found: transaction '5306-1', path
'published/WEBERV_20070320_Edikte_Kundmachung/ERV/Services/ERVNachricht.xsd'
 <<<
adding path :
published/WEBERV_20070320_Edikte_Kundmachung/ERV/Services/ERVNachricht.xsd

First I thougth the repository was corrupted so I tried a "svnadmin
verify" which says everything OK with the repo.

So I looked at the revision 5307 in the old repository with "svnlook
changed -r 5307 myrepo | grep Services"
which gives me the following output:

A
published/WEBERV_20070320_Edikte_Kundmachung/ERV/Services/ERVNachricht.xsd
A
published/WEBERV_20070320_Edikte_Kundmachung/ERV/Services/ERVService.wsdl
...
A published/WEBERV_20070320_Edikte_Kundmachung/ERV/ServicesÜST/
A published/WEBERV_20070320_Edikte_Kundmachung/ERV/ServicesÜST/ERV.xsd
...
A published/WEBERV_20070320_Edikte_Kundmachung/ERV/Services/

The directory ERV/Services is added AFTER the file
ERV/Services/ERVNachricht.xsd (the file which gives the error) was
added.

I found a similar problem at
http://svn.haxx.se/users/archive-2006-04/0401.shtml.

I think I can solve my problem if I can manipulate the dumpfile (which
is 900MB) so that the directory is added before the file.

Is it possible to manipulate a svn-dumpfile by hand?
I don't know the format of svn-dumps.

Is it enough to just cut out the

  Node-path: published/WEBERV_20070320_Edikte_Kundmachung/ERV/Services
  Node-kind: dir
  Node-action: add
  Prop-content-length: 10
  Content-length: 10

  PROPS-END

and place it before the

  Node-path:
published/WEBERV_20070320_Edikte_Kundmachung/ERV/Services/ERVNachricht.xsd
  Node-kind: file
  Node-action: add
  Prop-content-length: 10
  Text-content-length: 6179
  Text-content-md5: 4b67d3918d3647d1e280efecfafe476d
  Content-length: 6189

  PROPS-END
?
What does Prop-content-length: 10 and Content-length: 10 mean?
Could I use svndumpfilter to do the job?

Thx

Herbert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jun 3 13:03:07 2007

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