Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3793838
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T12:50:14+00:00 2026-05-19T12:50:14+00:00

I have the following SVN structure: ExistingRepository1 … MyFolder FolderToMove … ExistingRepository2 … AnotherFolder

  • 0

I have the following SVN structure:

  • ExistingRepository1

    • …
    • MyFolder
      • FolderToMove
      • …
  • ExistingRepository2

    • …
    • AnotherFolder
      • FolderToMove <- moved here
      • …

So I already read this question: How do I move a single folder from one Subversion repository to another repository?
But in my case ExistingRepository2 already exists.
So how can I do it? I want to have all revisions in the new project.

I have for example the revision number 1000 in ExistingRepository1 -> MyFolder -> FolderToMove, but in the ExistingRepository1there is already a revision with number 1000. So, what will the svn load do? Will it automatically move the revision numbers?

These would be the commands:

svnadmin dump /svn/ExistingRepository1 > ./repository.dump
svndumpfilter include MyFolder/FolderToMove --drop-empty-revs --renumber-revs --preserve-revprops < ./repository.dump > ./folderToMove_only.dump
svnadmin load /svn/ExistingRepository2 < ./folderToMove_only.dump

Thank you in advance for your help, Best Regards, Tim.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T12:50:15+00:00Added an answer on May 19, 2026 at 12:50 pm

    Here is somebody who claims to have moved a directory across existing repositories (with some blog comments that indicate success). Apparently it creates the whole path in the destination repository, but I imagine that once the directory is in the destination repository you can easily move it to where you want it (while maintaining its history).

    [Edit]

    I successfully tested this. Here are the commands I used:

    svnadmin dump /path/to/source/repo | svndumpfilter --drop-empty-revs --renumber-revs include /folder/to/transfer/ > dumpfile
    svnadmin load /path/to/destination/repo < dumpfile
    

    I then moved the transferred file (using TortoiseSVN’s Repo-browser).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following SVN structure: /Project1 /trunk ( Shared code between all clients
In a recent embedded project, we have used the following svn structure: project branches
I have the following folder structure, and I would like for svn to ignore
I have the following SVN structure: iPhone -> Project A -> trunk, branch, tags
I would like to have the following structure in my SVN Repository External -
I have a single SVN repository with the following current structure: project1 branches trunk
I have the following code from apache's svn. As you can see this is
I have an SVN repo with structure like this: /branch /tags /trunk /trunk/module1 /trunk/module2
We have the following project structure in SVN with a parent (not aggregator) project
I have a SVN repo with following structure: Root + Dir1 +---src1 + Dir2

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.