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

Re: modify a dump file

From: Thomas Schoepfer <tschoepfer_at_daetwyler.com>
Date: Wed, 23 Jan 2008 12:00:50 +0100

Roth, Pierre schrieb:
>> I'm searching for a tool to modify properties in a dump file.
>> We will be moved to a new domain, and this will break some
>> existing svn:externals definitions.
>> Simply using "sed" will not work because of the
>> content-length written to each section.
>> Any ideas?
> Never used but seems to work fine : http://svn.borg.ch/svndumptool/
> And check the "Transform-prop" command
> Pierre

Hi Pierre

This is exactly what i was looking for.

This command does the job:
./svndumptool.py transform-prop svn:externals 'svn://host.olddomain(.*)'
'svn://host.newdomain\1' in.dump out.dump

Thanks a lot!


Thomas Schoepfer
Control Systems
MDC Max Daetwyler AG
CH-3368 Bleienbach
Phone: +41 62 919 37 37
Fax: +41 62 919 36 30
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-23 12:01:49 CET

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.