Tricky
Tricky

Reputation: 7155

SVN won't commit unversioned files even though they show up with svn status

I'm running into difficulty setting up a new project into source control. I've imported a project into subversion and on the surface everything seems to be running fine. However, whenever I add a new file into the project, even though it comes up as unversioned when I run svn status, it isn't checked in when i try and check in, either using svn ci -m 'msg' or when I try in my Versions OS X svn client.

here's some example output from svn status:

?      Assets/Placeholder Images/shopping_list_1.png

And when I try to check-in it only checks in those files already versioned. The rest are ignored silently!

Any ideas on how I might solve this?

Upvotes: 5

Views: 7434

Answers (3)

Kamil Kisiel
Kamil Kisiel

Reputation: 20451

You have to add the file to your working copy:

svn add Assets/Placeholder Images/shopping_list_1.png

then you can check it in to the repository:

svn ci -m "Added shopping list placeholder image"

Upvotes: 22

Ned Batchelder
Ned Batchelder

Reputation: 375714

The question mark in the first column of the status output means the file isn't ignore, but also isn't being versioned. It's svn's way of saying "huh? what do you want me to do with this?"

Upvotes: 4

David
David

Reputation: 15360

Checkout this plugin for OS X. It's like TortoiseSVN for Windows users.

http://scplugin.tigris.org/

Upvotes: 0

Related Questions