ComputerUser
ComputerUser

Reputation: 4888

svn - unversioned already versioned?

I deleted all of the files from an svn repo. I then tried to recommit the files. This was going fine until some nested folders started to chuck out this message. How do i overcome this?

Execute: Add Error: Error while performing action: '/opt/lampp/htdocs/cmsv5/cms/images/breadcrumb' is already under version control

Upvotes: 3

Views: 2154

Answers (2)

Moo-Juice
Moo-Juice

Reputation: 38810

There are .svn directories still in the structure and you need to clean this up. To do so, right click the top-level folder in question and hit Export.... You will be asked to choose a directory. Choose the same top-level folder as you right clicked on. "Ok" the confirmation dialog and it will be un-versioned.

Upvotes: -1

Paul McMillan
Paul McMillan

Reputation: 20147

Delete any remaining (hidden) .svn folders from within the directories that are giving you trouble. They'll probably exist in every single nested dir.

If that's not the problem, be sure to do a clean checkout and update before you move the files into the directory where you want to commit them. Then re-add them, and commit. Always beware of stray .svn folders.

Upvotes: 4

Related Questions