A long time ago I had the following directory structure in my SVN repository
trunk/
data/
levels/
1.level
2.level
...
...
...
But I deleted the 'levels' directory long ago. Now I want to add a single text file called 'levels' to the 'data' directory, so it will look like this:
trunk/
data/
levels
...
...
Now when I try to add the file 'levels', I get this message:
$ svn add data/levels
svn: Can't replace 'data/levels' with a node of a differing type; the deletion m
ust be committed and the parent updated before adding 'data/levels'
How can I solve this?