[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 09:11:22 +0200 (CEST)

Hi,

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?

Kind regards,
Nils

-----Ursprüngliche Nachricht-----
Von: "Ryan Schmidt" <subversion-2011a_at_ryandesign.com>
Gesendet: 09.08.2011 15:52:41
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 9, 2011, at 04:16, Peter Pommelich wrote:
>
>> I have to modify some paths (trunk/meta/trunk => trunk) in the dump file created with 'svnadmin dump'. I did the modification of 'Node-path' and 'Node-copyfrom-path' with sed.
>
>Do not use sed to modify a dumpfile; use a tool designed to understand the dump format, like svn's own svndumpfilter:
>
>http://svnbook.red-bean.com/en/1.5/svn.ref.svndumpfilter.html
>
>or the independently developed svndumptool:
>
>http://svn.borg.ch/svndumptool/
>
>

___________________________________________________________
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 09:12:22 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.