Visual Studio 2010 with AnkhSVN - project cloning

I have a project in VS2010, and this project exists in SVN through AnkhSVN.

I want to create a project with the same code as an existing project. I do not want to enter. It should be a completely different project, but I want to start with existing files from an existing project. I do not want the name from the current project to appear anywhere in the existing project.

How to do it?

Thank you for your help.

+4
source share
1 answer

In SVN there is no specific operation as a branch , all operations (tagging, branching) just essentially make copies in the SVN repository (however, on the SVN server these are not separate copies, i.e. you are not doubling the space on the server side, but instead cost almost nothing). So, all you need to do is just copy it to another place and start working there:

$ svn copy svn://host.example.com/repos/project/trunk \ svn://host.example.com/repos/new_project/trunk \ -m "Creating a new_project based on project" 

After that, you probably want to switch the local working copy to point to the location of new_project in the repository:

 $ svn svn switch svn://host.example.com/repos/new_project/trunk . 
+3
source

Source: https://habr.com/ru/post/1444160/


All Articles