Search code examples
svnfileconflictstatus

`svn status` shows me a file as `!` and as `?`, why?


If I do svn status in my working directory I get

?       skripte/data/somefile.csv
!       skripte/data/somefile.csv

svn ? status tells me

  • '!' item is missing (removed by non-svn command) or incomplete
  • '?' item is not under version control

How can a file be not under version control AND svn complains about it as missing?


Solution

  • The solution was:

    1. moving file skripte/data/somefile.csv to another place
    2. svn delete skripte/data/somefile.csv
    3. svn commit -m=""
      • -m="" means only, that I don't want to send a commit message here.

    After those 3 steps svn status shows everything is correct.

    Thanks to @ZoolWay, @Piskvor and @Raghuram for leading me towards the right direction and pointing out things, that helped me identify the error in this case.