You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by claudia logan <cv...@yahoo.com> on 2007/06/21 10:43:29 UTC
svnadminfilter
All,
I am trying to restructure my repositories without loosing important history. I have one repository structured:
Project A with related
/branches,
/trunks,
/tags
We have found that out of our branch a new project needs to begin plus we need to restructure due to common libraries, so I have created a separate repository with the following layout:
Program Z:
/trunk/project_1
/trunk/project_2
/trunk/project_3
/branches/project_1
/branches/project_2
/branches/project_3
...etc
How do I move all history that is currently in the Project A/branch area to now under Program Z/trunk/Project_2?
I have tried the svnadmin dump, and the svnadmin filter (sp?). And is not quite working...Help!
---------------------------------
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
Re: svnadminfilter
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 21, 2007, at 05:43, claudia logan wrote:
> I am trying to restructure my repositories without loosing
> important history. I have one repository structured:
>
> Project A with related
> /branches,
> /trunks,
> /tags
>
> We have found that out of our branch a new project needs to begin
> plus we need to restructure due to common libraries, so I have
> created a separate repository with the following layout:
>
> Program Z:
> /trunk/project_1
> /trunk/project_2
> /trunk/project_3
>
> /branches/project_1
> /branches/project_2
> /branches/project_3
>
> ...etc
>
> How do I move all history that is currently in the Project A/branch
> area to now under Program Z/trunk/Project_2?
>
> I have tried the svnadmin dump, and the svnadmin filter (sp?). And
> is not quite working...Help!
I guess you mean "svndumpfilter" since there is no "svnadmin filter",
but I don't think you need that at all. I think you just need to
"svnadmin dump" the Project A repository and "svnadmin load" it into
the Program Z repository, probably using the "--parent-dir" argument.
Import Project A anywhere within the Program Z repository. Then check
out a working copy and use normal "svn mv" commands to rearrange it
to suit you.
If you frequently find yourself needing to combine projects like
this, you'll probably find it easier if you just put all the projects
into a single repository to start with.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org