Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix Subversion «!» status

Tags:

svn

The Subversion manual states:

'!'

Item is missing (e.g. you moved or deleted it without using svn). This also indicates that a directory is incomplete (a checkout or update was interrupted).

But as so often with Subversion, there is no indication on how to fix the problem.

Normally, I would use my trusted Fix_Subversion.command but this time it is trunk and it will take forever.

So is there any faster option?

like image 516
Martin Avatar asked Aug 02 '10 16:08

Martin


People also ask

What does svn status mean?

The svn status command informs you about what has changed in your local repository checkout compared to the moment you first checked it out or last did an update. It does not compare it to the contents of the svn server.

What does C mean svn status?

Yes, C is for conflict. You want: svn resolve --accept mine-full my_sysconfig.ini. The . refers to the current directory, and the fact that the C for that entry is in the second column means that it's a conflict on metadata/properties for the current directory. E.g. this could be a conflict in svn:mergeinfo, etc.

How can I tell if svn is working?

Like Johannes already told you can use svn log to check the connection. If you want to see which settings apply to your current working copy use svn info . Does not work from a client that has not checked out any files yet.

What does exclamation mark mean svn?

That means the Subversion status is normal. As soon as you start editing a file, the status changes to modified and the icon overlay then changes to a red exclamation mark. That way you can easily see which files were changed since you last updated your working copy and need to be committed.


1 Answers

svn revert /path/to/file svn rm /path/to/file      # if you want to delete it from svn itself 

Golden rule is: once something is under svn-control, any moving, deleting, renaming, should be done with svn commands (svn mv, svn rm, etc.), not using normal filesystem/file-explorer functions.

like image 134
Wrikken Avatar answered Sep 29 '22 14:09

Wrikken