dsuni / svndumpsanitizer

A program aspiring to be a more advanced version of svndumpfilter
https://miria.homelinuxserver.org/svndumpsanitizer/
GNU General Public License v3.0
47 stars 15 forks source link

spurious Test: lines at the top of the output #16

Closed reinierpost closed 6 years ago

reinierpost commented 6 years ago

remove-spurious-printf.diff.txt

I ran svndumpsanitizer on my dump, and the resulting dump refused to svnadmin load. It turns out it started with a couple of lines starting with 'Test: ' Without them, the dump loaded fine.

The culprit is the following statement on line svndumpsanitizer.c:1543:

     printf("Test: %s %s %s\n", temp_str, revisions[i].nodes[j].path, redefined_root);

Why not just remove it?

dsuni commented 6 years ago

D'oh! Line deleted. Thanks for pointing it out.