views:

34

answers:

1

I deleted files in my SVN, and dragged new files into it over WINSCP.

Now, I try to add all the files and commit, but it won't let me.

$ svn add *
svn: '.' is not a working copy
svn: Can't open file '.svn/entries': No such file or directory
+1  A: 

You probably just removed the .svn directory, or moved with hidden files not shown and forgot to move it. Take better care next time ;)

To fix the problem, checking out a new working directory and copying your changed files over it should probably do the trick.

Martinho Fernandes