Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the Subversion status symbol "~" mean?

Tags:

xcode

svn

status

I am getting a tilde symbol when I do an svn status.

Here is the output of the project after editing it in XCode.

svn status M      build/Currency_Converter.build/Currency_Converter.pbxindex/imports.pbxbtree M      build/Currency_Converter.build/Currency_Converter.pbxindex/pbxindex.header M      build/Currency_Converter.build/Currency_Converter.pbxindex/symbols0.pbxsymbols ~      build/Currency_Converter.build/Currency_Converter.pbxindex/strings.pbxstrings M      main.m //more changed files 

Any idea what that means? Can't seem to find it on google or any of the svn cheat sheets.

Interestingly, I only edited main.m, but there are lots of modified files. I don't know why that would be. Anyone have any tips for working with SVN and XCode? Should I only be putting my source files under version control?

Edit: Caused by a file that was already under version control being replaced by a file of another type. In this case, strings.pbxstrings used to be a file and now became a directory. Moral of the story is don't put your build folder into version control.

like image 870
jergason Avatar asked May 12 '09 15:05

jergason


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 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.

What is S in Subversion?

7. Status S means "switched", according to svn h st .

What does D mean svn?

D: This file will be deleted (after commit) S: This signifies that the file or directory has been switched from the path of the rest of the working copy (using svn switch) to a branch.


2 Answers

The SVN Book says:

Item is versioned as one kind of object (file, directory, link), but has been replaced by different kind of object.

So perhaps it was originally a single file, but you changed it to a directory, or something along those lines?

like image 132
Chad Birch Avatar answered Sep 21 '22 06:09

Chad Birch


Here's what i did:

If the folder is Test

  1. mv Test Test1
  2. svn remove Test
  3. mv Test1 Test
like image 22
Tuong Le Avatar answered Sep 24 '22 06:09

Tuong Le