Subversion installation in Windows

Source: Internet
Author: User
1. First download the server software of the Subversion Windows version,
: Http://subversion.tigris.org/servlets/ProjectDocumentList? The folderid = 91 file is svn-1.2.0-setup.exe, and then install it. After installation, add the bin path of subversion to the path of the system.

2. Create a subersion database:
First, create a directory to store the Subversion library, and store the Subversion project in this library, as shown in C: \ SVN

3. Create a New subversion project.
Run the following command: Svnadmin create c: \ SVN \ myproject Set the user information of the Project as follows,
Open the passwd file in the conf directory of the Subversion project and add a new user, as shown in figure
[Users]
 Admin = mypassword
Next, set some other information about the project, open the svnserve. conf file in the conf directory, and then perform the following settings:
[General]
Anon-access = read
Auth-access = write
Password-DB = passwd
Realm = myproject

4 start subversion, which can be started through the command line, it is best to use SVN service wrapper,
you can download through the following address: http://dark.clansoft.dk /~ MBN/svnservice,
copy svnservice.exe to the bin directory of the main installation directory of subversion, and then run the
command to start the subversion in Windows service mode.
svnservice-install-D-r d: \ subversion]
If the service has been started, run the following command to stop it.
svnservice remove
5. Import a project to Subversion: now we need to import the project to the Subversion library,
run the following command: SVN import D: \ localmyproject SVN: // localhost/myproject-M "Initial import" -- username admin -- password mypassword
so that the project is imported to the Subversion library.

6. Export a project: it is easy to export a project from a subversion project. You only need to perform the following operations:
SVN Co SVN: // localhost/myproject -- username admin -- password mypassword

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.