Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Status "S" in Subversion

At some point all files in my working copy got marked with "S" symbol as shown below:

$ svn st M    S   AclController.php      S   InstallationController.php      S   CustomerController.php      S   RedirController.php      S   IndexController.php      S   LoginController.php      S   OrderController.php      S   ProductController.php      S   SelfInstallController.php      S   SelfcareController.php 

Interestingly it occurs only int this particular working copy - when I checkout the project to new directory, it does not show the "S" marks.

How to get rid of this annoying "S" symbols? It significantly decreases clarity of WC status.

Update: I do switch from time to time using standard svn switch syntax. It was never causing this "S" symbol to appear until recently. The command used to switch was:

svn switch svn+ssh://xxxxxx/subversion/xxxxxxx/releases/1.0.16 . 

Is there any way I can clear the "S" flag?

like image 361
Michał Niedźwiedzki Avatar asked Dec 08 '09 11:12

Michał Niedźwiedzki


People also ask

What does C mean in svn?

Yes, C is for conflict. You want: svn resolve --accept mine-full my_sysconfig.ini.

What is svn exclamation mark?

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.

How can I tell if svn is working?

Use the command line svn client or your favorite SVN client (TortoiseSVN, for example). Your local copy of the project is called a working copy in Subversion and you get it by issuing the command svn checkout <URL> where <URL> is a repository URL.

How do you svn add all files?

To add an existing file to a Subversion repository and put it under revision control, change to the directory with its working copy and run the following command: svn add file… Similarly, to add a directory and all files that are in it, type: svn add directory…


1 Answers

It means that the files are from a different location in your subversion repository than the directory containing them. The solution is to switch the entire working copy to the same location. See the two sections in the subversion book for details on how to invoke the command.

like image 95
Andrew Aylett Avatar answered Sep 21 '22 06:09

Andrew Aylett