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?
As it is showing target folder in the output, it means that target folder is already under version control hence it will never affect with your ignore file list. Svn will commit every file that is under version control.
Step 1: Create a folder in your local file system. Right click inside the folder where you want to checkout the repository and select " SVN Checkout... " from the pop-up menu.
Once an object is under Subversion’s control, the ignore pattern mechanisms no longer apply to it. In other words, don’t expect Subversion to avoid committing changes you’ve made to a versioned file simply because that file’s name matches an ignore pattern—Subversion always notices all of its versioned objects.
If you currently organize your project files in an unversioned directory structure, then they must be added to your Assembla SVN repo before you can start committing your changes to those files.
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"
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?"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With