1

We are in process of moving a legacy Java project to a gradle based project. For which I want to move just the java and jsp folder from following path

svn └───Dev └───ReleaseBuilds └───V10 └───10e186 ├───java ├───jsp └───migration

to java and jsp in following path in the same svn server on different repository.

svn 10e ├───branches │ └───src │ └───main │ ├───java │ └───webapps │ └───jsp └───trunk

There are multiple questions on similar lines like the following but for this specif case my new repository ends up mirroring the whole folder structure from the legacy repo when I use the following commands

svnadmin dump Dev | svndumpfilter include /ReleaseBuilds/V10/10e186/java/ >dev.dump

svnadmin load --parent-dir branches/10e186 10e7 < dev.dumpsvnadmin load --parent-dir branches/10e186 10e < dev.dump

The expected result is to get just the content of java folder from old repo to new repo instead I am ending up with path like

10e/branches/10e186/ReleaseBuilds/V10/10e186/java

How do I dump one project out of an SVN repository which contains multiple projects?

Svnadmin load from dumpfile causes "file not found error". Help?

SVN move single directory into other repository (with history)

How do I move a single folder from one Subversion repository to another repository?

Community
  • 1
  • 1
Sap
  • 5,197
  • 8
  • 59
  • 101

0 Answers0