On Aug 10, 2011, at 02:11, Peter Pommelich wrote:

>> I used svndumpfilter to extract only the wanted folders from the original 
>> 'big' dump file.
>> 
>> I tried using the svndumptool but somehow I don't get it:
>> 
>> svndumptool.py transform-prop Node-path "^Node-path: trunk/meta/" 
>> "Node-path: " DumpFinal.dump DumpFinal_NPFixed.dump
>> 
>> does not change anything.
>> 
>> The help usage is: svndumptool.py transform-prop propname regex replace 
>> source destination
>> 
>> Does anyone has an idea?


transform-prop is for transforming versioned properties; Node-path is not a 
versioned property; it is an internal detail of the dumpfile format that you 
don't need to concern yourself with.

I suggest you read the section "Moving things around" under "Some tips" in the 
svndumptool readme:

http://svn.borg.ch/svndumptool/0.6.1/README.txt


On Aug 10, 2011, at 02:40, Peter Pommelich wrote:

> I just used perl for editing the dump file (perl -e "s/^Node-path: 
> trunk\/meta\//Node-path: /g;" -pi.bak <filename>) and it just worked.
> 
> I hope that I do not need to nbother you again with that :-)

Ok... But using perl is no better than using sed IMHO. perl, like sed, is not 
designed to deal with dumpfiles; svndumptool is, and knows details of the 
format that you might not.


Reply via email to