Create local SVN and restore local SVN

Source: Internet
Author: User
Tags tortoisesvn

Create a local SVN to facilitate version management;

1. Download Software

Server: Subversion 1.7.7 + Apache server (Windows 32-bit). You need to register it. Download it as an EXE file and install it directly. You will be prompted to set the version library folder with a selection box, hook up to enable the Service to start up and run, which is easy to use;


Client: TortoiseSVN-1.7.10.23359-win32-svn-1.7.7, the latest version is 1.7.7, this according to the prompts to follow the next step can; I did not prompt to restart the installation;

2. Create a version Library

. Find the specified version library folder (which must be an empty folder) when installing the server, or select any empty folder, right-click the folder-> tortoisesvn-> createrepositoryhere, you can create a version library;

3. Configure users and permissions

Open the version library directory in the text editor and modify svnserve. conf:

Set: # password-DB = passwd

Changed:

Password-DB = passwd

Then modify the passwd file in the same directory and remove the comments of the following two lines:

[Users]

# Harry = harryssecret

# Sally = sallyssecret

Finally changed:

Harry = harryssecret

Sally = sallyssecret

[Users]

# Harry = harryssecret

# Sally = sallyssecret

Finally changed:

Harry = harryssecret

Sally = sallyssecret

4. Import version

In the folder where the project you want to import the version library is located, right-click-> tortoisesvn-> Import; enter the address of the version library, because it is local, the address is somewhat special, such as: file: /// E:/svn_repository/XXX (path in the version Library), where xxx defines the folder name for you; you can write the import log; OK! In this way, the program has already entered the version library;

5. I have recently reinstalled the system. How can I restore the previous version library.

My SVN version library is not stored on the system disk, so it is retained. Reinstall svnserver and client, and copy the original Library to the new version library. Note that the path and name are the same (not the same ). Right-click the folder where your SVN version library is located. Find repo_browser to see if you can see the original version information. Right-click the folder of the original version to check whether there is a SVN upgrade working copy. This is the option that appears when I use the new version of SVN. Click it and the original icon will return, you can commit again.

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.