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

svnadmin load does not creat files

From: Martin Rosekeit <martin_at_rosekeit.de>
Date: Sun, 06 Sep 2009 23:13:23 +0200


I try to transfer a part of a repository to another machine. But when I load the
file into the other repositiry no new files are created.

I have done the folloving:
        svnadmin dump /srv/repos/one -r 5000:8000 > one.dump.8000
        cat ine.dump.8000 | svndumpfilter --drop-empty-revs --renumber-revs include
"trunk/pc/" > one.dump.8000_pc

On the other machine I created svn the folder to take the copy, created an
empty file (/branches/one/trunk/pc/Makefile.basic.inc) for testing and loaded
the dump:
        svn load /srv/repos/two --parent-dir /branches/one/ < one.dump.8000_pc

I then got this message:

<<< Started new transaction, based on original revision 5000

------- Committed new rev 11 (loaded from original rev 5000) >>>

<<< Started new transaction, based on original revision 5001
      * editing path : /branches/one/trunk/pc ... done.
      * editing path : /branches/one/trunk/pc/Makefile.basic.inc ... done.
svnadmin: File not found: transaction '11-d', path
      * editing path : /branches/one/trunk/pc/Makefile.dir.inc ...

Empty file are filled with the right data from the dump, but when the file does
not exist, it will not be created.

 From the dump:

Node-path: trunk/pc/Makefile.basic.inc
Text-content-md5: c8c180216ae29e721aa71efc4c8f8e25
Node-action: change
Node-kind: file
Text-content-length: 4320
Content-length: 4320

[the complete file]

Node-path: trunk/pc/Makefile.dir.inc
Text-content-md5: cc8eae4902608bff49391446f4dcf21d
Node-action: change
Node-kind: file
Text-content-length: 11540
Content-length: 11540

[the complete file]

Have I somewhere to tell svn that it has to creat the files?

The svn version on the first server is
        svnadmin, Version 1.5.1 (r32289)
and on the new one
        svnadmin, version 1.6.4 (r38063)

Thanks for help

<<Experience is what you get, when you don't get what you want.>>
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-07 04:17:02 CEST

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.