Visual Studio uses SVN quick guide

Source: Internet
Author: User
Tags svn tortoisesvn


Visual Studio uses SVN quick guide



Author: Kaluga






Date: 2009/9/4






Reading Objects






Use SVN, but don't remember the specific configuration process, need to quickly start the reader. Platform






[1] Visual Studio 2005 English version






[2] Subversion 1.6.4 English version http://subversion.tigris.org






[3] Tortoise SVN 1.6.5.16974 English version http://tortoisesvn.net/downloads






[4] AnkhSvn-2.1.7141.181 English version Http://ankhsvn.open.collab.net






Body






In order, install the software Settings server listed in the platform






"First step" into the directory that intends to establish repository






"Step Two" right mouse click, select pop-up menu "Tortoise SVN"-> "Create repository Here"






"Step three" into the console, enter the following command, import data to Repository






SVN Import Source Path target Url-m "add information"






Source path: Where your code is stored, such as C:/yourproject






Target URL: file:///C:/SVNRepository/yourprojectlocation






Fourth step in the console, enter the following command to start the SVN server






Svnserve--daemon Set client






Click the right mouse button on the desktop "tortoise"-> "Repo-browser" to enter the URL, for example: svn://localhost//svnrepository/yourprojectlocation






Or






File:///C:/SVNRepository/yourprojectlocation






It is that SVN repository is the name of the directory where repository resides.






"Mode One" right click "SVN Checkout" on the desktop to establish a mapping of the remote address to the local work path.






Mode two launches visual Studio to select "View"-> "Repository Explorer" in the menu bar, add an SVN server, and establish a mapping of the remote address to the local work path.











Notes






[1] Configure SVN server user permissions






"First step" into the directory where the configuration files are located






For example: c:/svnrepository/conf






Where SVN repository is the path of repository existence






The second step modifies the svnserve.conf file and sets the access mode. Modify the passwd file to create a list of user name passwords.
















[2] More about server Setup issues, refer to the following article






Svnserve-based Server Chapter 3rd version Library






Http://tortoisesvn.net/docs/release/TortoiseSVN_zh_CN/tsvn-serversetup-svnserve.html











[3] Maybe you can use visual svn to easily set up SVN servers






http://www.visualsvn.com/server/




Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.