Hi everbody,

I wrote to this mailing list a few days ago (I had some questions regarding how 
to migrate a repository). I'm still working in this...

The current problem I have is this:
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. But after loading this modified dump file into 
the new repo, I got a checksum error for a jar file. If I load the unmodified 
dump file into the new repository everything is fine.

This is the way I created the dump file and modified the paths:
>> cat DumpCompleteSource.dump | svndumpfilter include  trunk/meta/trunk/_build 
>> trunk/meta/trunk/_client-libs > Dump_only_trunk.dump
>> cat Dump_only_trunk.dump | sed -e 's,^Node-path: trunk/meta/,Node-path: ,' > 
>> Dump_only_trunk_NodePathFixed.dump
>> cat Dump_only_trunk_NodePathFixed.dump | sed -e 's,^Node-copyfrom-path: 
>> trunk/meta/,Node-copyfrom-path: ,' > 
>> Dump_only_trunk_NodePathFixed_NodeCopyFromFixed.dump

I also tried to concatenate all commands using pipes and omitting creating 
files, but I still get the checksum .

Does anyone know why the usage of sed mess the checksums/content up? For each 
substitution I used the beginning-of-ile marker '^' so there should'nt be any 
content modified right?
Maybe this is also important: the OS is SunOS 5.10

Kind regards and thanks (again),
pete
___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar

Reply via email to