Subversion and tortoisesvn download to its official website: http://subversion.tigris.org
Note: If you want to use the tortoisesvn Chinese interface, you also need to download the language installation package. If you only use it on a local computer and do not use the Subversion service, you only need to install the tortoisesvn components.
1. download the file list:
1. Click here to download the version 1.3.0 and subversion.Program.
2. Click here to download tortoisesvn. The version is 1.3.2 and the subversion client program.
3. Click here to download the tortoisesvn Chinese Language Pack. The version matches the above one.
4. Click here to download the svnservice. You can package the Subversion service into a Windows NT Service.
Ii. Installation Steps
1. Install Subversion
2. Install tortoisesvn and Language Pack
3. Configure the Subversion Service
The Subversion itself is started by the command line. It is found in the Subversion installation directory. It cannot be started with windows like the Windows NT Service, and needs to be packaged as a Windows NT Service through svnservice. the specific settings are as follows:
After you unpack the downloaded svnservice, copy the downloaded svnservice to the \ bin directory in the Subversion installation directory to ensure that svnservice.exeand svnserve.exe are in the same directory.
Installation Service:
Run the command: svnservice-install-d-r <svnroot>
In practice, <svnroot> represents the electronic repository directory of the Subversion service.
Change service settings:
Run the command: svnservice-setup-d-r <newsvnroot>
In practice, <newsvnroot> indicates the electronic warehouse directory different from that when the Subversion service is started.
Delete service:
Run the following command: svnservice-Remove
4. Use tortoisesvn to create an electronic warehouse
The tortoisesvn client is not an independent program, but is integrated with the Windows Explorer Shell. Its operations are completed through the Environment menu.
As shown in:
1. Create an empty directory named svnroot
2. Right-click the directory or in the blank space, and select create repository here from the tortoisesvn menu... (create an e-repository here). After you select an e-repository type, some files and directories are automatically generated. in this way, you can create multiple e-warehouses in the same way.
Note: There are two types of e-warehouses available:
1. Native filesystem (fsfs) local file system
2. Berkely database (bdb) Berkely Database
Different options only affect the Data Access format of the electronic warehouse. The default option is native filesystem.
In this example, you can use: svnservice-install-d-r e: \ svnroot to install the Subversion service.
To ask about the services installed on the local machine, right-click the service and choose reop-browser. The following dialog box is displayed:
To access a local e-repository, you can use the File Protocol: file: // E:/svnroot.
If you access an electronic repository of another machine from the network, the svn protocol is used, for example, SVN: // 127.0.0.1.
The e-repository content is displayed in a tree structure in the dialog box.