Subversion Configuration in Xcode

I want to configure SVN on my computer. To do this, how to create a repository? How to specify all the paths? I am using Mac os 10.7.3 Lion and Xcode 4.2.

+4
source share
1 answer

To set up the Subversion repository in Xcode 4, go to File -> Source Control -> Manage Repositories. After that, you will see the option to add the repository: enter image description here

After selecting the Add repository option, you will need to enter the URL of the Subversion repository and the name that you want to add to the repository:

enter image description here

Click "Next", and in the next step you will see the ability to set the paths to your folders in your svn repository. There are three folders that are usually created by default when using svn, and they are called / trunk, / tags, / branch. If you do not have these folders, you can skip this step; this is optional.

enter image description here

You should now see your repository in the sidebar in the Xcode organizer. We would like to add one of our projects to Subversion so that we can use version control for the project. We would like to add the project to the / trunk folder of our repository. To do this, click the / trunk folder and click the import button.

enter image description here

When you click the import button, select the folder with the files you want to import. You will then be prompted to enter a commit message. After that, click "Update" and you will see new files added to your repository.

enter image description here

Your project is now under version control and you can see it in your Beanstalk account in your repository. All you have to do is check the files according to your preferences and open the project from this place.

When you open a project, you will see checkboxes next to all the files that you modify, add or delete, and you will see the ability to commit files.

enter image description here May it help you

Happy coding.

+5
source

All Articles