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

Re: restructuring repositories with svndumpfilter

From: Adam Mercer <ramercer_at_gmail.com>
Date: 2007-09-10 00:30:02 CEST

On 09/09/07, Chris Frost <chris@frostnet.net> wrote:
> An easy solution is to do something akin to 'svn mv dir1/* .; svn rm dir1'.
> However, moving between before and after this checkin will be a bit of
> a hassle.

That's the final option to use I just wondered if they was a way that
I could do this another way.

> This smoother solution may be more difficult than you want to undertake,
> but we recently "hand" edited dumpfiles ("hand": mostly via a short sed script)
> to make a similar change.
>
> Most of the work can probably be done by changing all lines that look like:
> Node...repo/dir1/...
> into
> Node...dir1/...
> and lines that look like:
> Node...repo/dir1
> into
> Node...dir1
>
> However, there will be at least a few checkins that will need further work.
> For example, the checkin that added repo/dir1, and any later checkins that
> rename or delete this directory.
>
> Hope this is of some help.

Thanks, I'll try hand editing the dump file.

Cheers

Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 10 00:26:51 2007

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.