Stephen Waits wrote: > Can you do it both ways and then diff the two files to see what's > actually different? > > Also, try using write (or, failing that, puts) instead of << to output > to the file. > > --Steve Being on a windows XP machine, I ran COMP to compare the files and it only stated that the files were of different sizes. I also compared the files with TextPad, which output: Compare: (<)C:\subversion\dump\test\test_cmdexpress (431 bytes) with: (>)C:\subversion\dump\test\test_rblocksave (462 bytes) The files are identical I also ran subversion's own diff against the files which output: Index: test_cmdexpress =================================================================== --- test_cmdexpress (revision 0) +++ test_cmdexpress (revision 0) @@ -0,0 +1,31 @@ +SVN-fs-dump-format-version: 2 + +UUID: 6d10496b-807e-eb4a-8eb1-db2388672f7a + +Revision-number: 32 +Prop-content-length: 120 +Content-length: 120 + +K 7 +svn:log +V 18 +changed banana.txt +K 10 +svn:author +V 7 +bc13935 +K 8 +svn:date +V 27 +2006-04-04T15:34:30.679827Z +PROPS-END + +Node-path: banana.txt +Node-kind: file +Node-action: change +Text-content-length: 14 +Text-content-md5: 485def7fa8bf59e9d2ea55653a999a22 +Content-length: 14 + +I am a banana. + Index: test_rblocksave =================================================================== --- test_rblocksave (revision 0) +++ test_rblocksave (revision 0) @@ -0,0 +1,31 @@ +SVN-fs-dump-format-version: 2 + +UUID: 6d10496b-807e-eb4a-8eb1-db2388672f7a + +Revision-number: 32 +Prop-content-length: 120 +Content-length: 120 + +K 7 +svn:log +V 18 +changed banana.txt +K 10 +svn:author +V 7 +bc13935 +K 8 +svn:date +V 27 +2006-04-04T15:34:30.679827Z +PROPS-END + +Node-path: banana.txt +Node-kind: file +Node-action: change +Text-content-length: 14 +Text-content-md5: 485def7fa8bf59e9d2ea55653a999a22 +Content-length: 14 + +I am a banana. + ...Which I don't see any differences in. I tried generating the file with File#write, File#<<, and File#puts, with both "a" and "w" modifiers, but all come to be the larger file size of 462 bytes, and are not accepted by svnadmin load, which errors: svnadmin: Found malformed header block in dumpfile stream I'm using ruby 1.8.4 (2005-12-24) [i386-mswin32], Windows XP. -- Posted via http://www.ruby-forum.com/.