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

Re: Checksum failed after using sed to modify paths in dump file in spite of using ^

From: Peter Pommelich <PetePomm_at_web.de>
Date: Wed, 10 Aug 2011 10:03:30 +0200 (CEST)

Arg....ok, thanks for making this clear. I'll take a look at the dumptool again, this time using the right options...

Again, thanks for your help,
pete

-----Ursprüngliche Nachricht-----
Von: "Ryan Schmidt" <subversion-2011a_at_ryandesign.com>
Gesendet: 10.08.2011 09:46:53
An: "Peter Pommelich" <PetePomm_at_web.de>
Betreff: Re: Checksum failed after using sed to modify paths in dump file in spite of using ^

>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.
>
>

___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar
Received on 2011-08-10 10:15:51 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.