I created an svn repository on my other Linux installation. I'm a newbie and served the whole Netbeans project folder in that repo. I now decided to keep source files in a directory and keep the SVN repository root in another path. The problem is I don't know / can't imagine how to add the sources folder to a new repository by not disrupting its current revision number. Let me demonstrate it:
old repo:
/home/username/Desktop/SVN
–> repository path
/home/username/NetbeansProjects/prj
–> imported by "svn import …" and developed further
new repo (the one I want to accomplish on my new Linux installation):
/home/username/Desktop/SVN/prj
–> repository path
/home/username/Desktop/KOD/prj
–> I want to serve old repo's /home/username/NetbeansProjects/prj/src/prj/* from this path (which is @ rev 31)
Any help is appreciated..
Best Answer
You need to dump the old repo into a file and then import the file into the new repo:
You can also keep your dump file as a backup is something goes wrong. You can also just copy the directory if you will use the same version of SVN in both servers. SVN Dump is version independent.