On Fri, Sep 3, 2010 at 09:36, BRM <bm_witn...@yahoo.com> wrote:
> ----- Original Message ----
>
>> From: Ryan Schmidt <subversion-20...@ryandesign.com>
>> > $ cat Example1.dump | sed
>> >  's/file:\/\/\/svnTest\/Example1/file:\/\/\/svnTest\/Example2/' >
>> >  Example1-edited.dump
>> Do not use sed to edit a dumpfile. Use a tool  designed for the task, like
>>svndumptool.
>> http://svn.borg.ch/svndumptool/
>
> Why? B/c it might change data in files too? That's actually something I want
> done.
> My prime repository has some scripts in it that store the repository 
> information
> for auto-checkouts as part of build environments, and I want those changed 
> too -
> not just the svn:externals.
>
> Or would sed 'break' the dump file format? svndumptool does look useful to
> verify that sed did exactly what I wanted - standard diff won't work well on a
> 2.1 GB dumpfile.

If you modify the contents as well, it'll break the dumpfile. The
dumpfile contains an MD5 hash of each file for integrity checking.

Reply via email to