SVN: How can I move a project from one repository into another

13,876

Solution 1

You must dump the repository, then filter the dump and reimport it into the new repository. Then you can delete the project from its original repo.

See the similar question

https://stackoverflow.com/questions/337024/how-do-i-dump-one-project-out-of-a-svn-repository-which-contains-multiple-project

for more detailed explanations.

Solution 2

I don't think so. Depending on what exactly you want to accomplish, externals might be useful.

Share:
13,876

Related videos on Youtube

EJC
Author by

EJC

Willing to help as much as I can. I will get the job done.

Updated on September 17, 2022

Comments

  • EJC
    EJC over 1 year

    Ok, so I have these two repositories and I want to move a project from one repo to the other without losing the history. I tried using svn relocate and I got a weird message and it wouldn't let me relocate. Is there a way to do what I want?

    I am using toroise svn btw

    • Ivo Flipse
      Ivo Flipse over 13 years
      Comment by Davious: Daniel, This case is a little more nuanced. This is going to a subdirectory in an existing repository.