You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jeff Kowalczyk <jt...@yahoo.com> on 2006/03/18 23:51:33 UTC

merge repositories with (repos)/branches|tags|trunk

Others have asked what to do with svn dumpfiles that have 'the same file
paths' which would prevent merging.

I'd like to ask about the most common case of this; each of my per-project
repositories had (at one point in the revision sequence) a top-level
branches/ tags/ trunk/ structure.

Most, but not all of these separate repositories have been moved now to
per-module b/,t/,t/ structures in their current revisions.

Can I safely munge each plaintext svn dumpfile to prepend the per-project
name to all paths prior to importing them? Then I could do a final
rearranging after all repositories have been loaded to the merged master
repository?

Does anyone have a script or good regex that I could use for this text
substitution to prepend a pathname? Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: merge repositories with (repos)/branches|tags|trunk

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Mar 19, 2006, at 00:51, Jeff Kowalczyk wrote:

> Others have asked what to do with svn dumpfiles that have 'the same  
> file
> paths' which would prevent merging.
>
> I'd like to ask about the most common case of this; each of my per- 
> project
> repositories had (at one point in the revision sequence) a top-level
> branches/ tags/ trunk/ structure.
>
> Most, but not all of these separate repositories have been moved  
> now to
> per-module b/,t/,t/ structures in their current revisions.
>
> Can I safely munge each plaintext svn dumpfile to prepend the per- 
> project
> name to all paths prior to importing them? Then I could do a final
> rearranging after all repositories have been loaded to the merged  
> master
> repository?
>
> Does anyone have a script or good regex that I could use for this text
> substitution to prepend a pathname? Thanks.

I thought that's what the svndumpfilter program was for.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org