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.