Svn – how can I “unlink” files stored in SVN repo

svntortoisesvn

I've got two sites in my local www folder, say site1.com and site2.com.

They are both stored in my SVN repo on the dev server, and I use tortoise SVN.

I've copied some files from one of the sites to another, but SVN now has these files linked together in the repo.

E.g. if I update main.css on site1 and commit it, when I update main.css on site2, it gets the changes I made in site1.

How can I unlink these files again?

Best Answer

I resolved the issue I was having by doing an export of the working copy to another folder, then removing the site from the svn and re-importing it from scratch.

Still hoping there is a better way to resolve the problem though (I now know to use export if I want to copy a file or a directory from a working copy).