SVN: Create a dump file of a folder

Posted by DarkJaff on Stack Overflow See other posts from Stack Overflow or by DarkJaff
Published on 2011-01-04T20:48:38Z Indexed on 2011/01/04 20:53 UTC
Read the original article Hit count: 431

Filed under:

I'm trying to create a dump file of a folder in my SVN repository.(My goal is to import this dump on another repository, but that's another story).

I've read like 20 pages about this and they all tell me to use svndumpfilter but I can't seem to make it work.

Here is my command:

C:\>svnadmin dump d:/SvnData/TestingSVN/ | svndumpfilter include /TestingSVN/Trunk/Fms/ > d:\FMS.txt

The output in the command line is this strange thing:

Including prefixes:
   '/TestingSVN/Trunk/Fms'
* Dumped revision 0.
Revision 0 com*m iDtutmepde da sr e0v.isi
n 1.
Revision 1 committed as 1.
* Dumped revision 2.
Revision 2 committed a*s  D2u.mpe
 revision 3.
Revisio*n  D3u mcpoemdm irtetveids iaosn  34..
Revision*  4D ucmopmemdi trteevdi saiso n4 .5.
Revision 5 com*m iDtutmepde da sr e5v.isi
n 6.
Revision 6 commi*t tDeudm paesd  6r.evi
ion 7.
Revisio*n  D7u mcpoemdm irtetveids iaosn  78..
Revision *8  Dcuommpmeidt treedv iassi o8n. 9.
Revision 9*  cDoummmpietdt erde vaiss i9o.n 1
.
Revisi*o nD u1m0p ecdo mrmeivtitseido na s1 11.0
.
Revision 11 *c oDmummiptetde dr eavsi s1i1o.n 1
.
Revision 12 committed*  aDsu m1p2e.d r
vision 13.
Revision 13 committ*e dD uamsp e1d3 .rev
sion 14.
Revision 14 commit*t eDdu mapse d1 4r.evi
ion 15.
Revision 15 committed as 15.
* Dumped revision 16.
Revision 16 committed as 16.
Dropped 83 nodes:
   '/Branches'
   '/Branches/305'
   '/Branches/305/New Text Document.txt'
   '/Fms'
   '/Fms/ADPropertySheet.cpp'**

etc. for 83 nodes...

Also, the dump file itself is only 3 kb and contain no real data, only things like that (this is not the complete dump, just a sample)

SVN-fs-dump-format-version: 2
UUID: 592fc9f0-5994-e841-a4dc-653714c95216
Revision-number: 0
Prop-content-length: 56
Content-length: 56
K 8
svn:date
V 27
2009-06-19T15:05:52.001352Z
PROPS-END
Revision-number: 1
Prop-content-length: 112
Content-length: 112
K     7
svn:log
V 38
This is an empty revision for padding.
K 8
svn:date
V 27
2009-06-19T15:11:29.378511Z
PROPS-END

Can anybody help me sort this out?

© Stack Overflow or respective owner

Related posts about svn