SVN server and Client Installation instructions

Source: Internet
Author: User
Tags parent directory svn svn client tortoisesvn tortoisesvn download

VISUALSVSVN Servers: VISUALSVN Server

Why use VISUALSVN Server instead of subversion.
VISUALSVN Server consolidates Apache + Subversin + SSL, and VISUALSVN server also provides a graphical interface for administrative configuration: Users can be set up, passwords are established, and new code libraries can be proposed. The VISUALSVN server is free (and VISUALSVN is charged). For beginners to avoid a lot of Apache server settings. And you don't have to run svnadmin to build SVN repository.

visualsvn Server Download Address:
http://www.visualsvn.com/server/download/

installation
The installation of Visual SVN is very simple, and the entire installation process does not require a lot of user intervention.

Select the path to the program installation, the path to the Subversion Repository (library), and the Protocols and ports used.

You can choose between HTTP and HTTPS two protocols, which are also very handy if you need to use the SVN protocol, and after version 1.4, Subversion joins the service function. The port number can be defined arbitrarily. The port number for HTTPS can be selected by default 443 and 8443, and 80, 8080, and 81 for HTTP defaults.
I personally prefer to use HTTPS 8443 port, because simple HTTPS security is relatively high, 443 port is a standard HTTPS port, if doing web development that must be troublesome, and Skype will use this port for some communication (Skype is very strange, will use this standard port to communicate).

It is recommended that you consider installing to a different directory when you install repository, which makes it easier to back up.

Run
Select the Start menu-> attachment and select VISUALSVN.
Subversion and the server will automatically run, the basic situation of the server can be from the right window information, including the server's access address URL. Users can access the SVN Server through this URL using the TortoiseSVN tool or a Web browser.

creating users and Groups
Right-click Users or Groups, pop-up menu has create user or creat Group, in the window that appears

Create a version library
According to SVN's custom, the layout of the version library is typically a version of a project library with 3 folders per version library
Trunk Main Line, the working directory in the development process
Branches spur, temporary branch, customization requirements. such as: branches/order008 branches/order009
Tags published directory, do not make changes. such as: tags/release-1.0 tags/release-1.1

Right-click Repositories, pop-up menu has create New Repository ..., in the window that appears, enter the name of the version library, and you need to choose whether to create a default version library structure, or 3 folders. Can be selected by default. Then click OK to create a new version of the library.

Set Permissions
For each version of the library, by default, all users directly inherit the permissions of the parent directory repositories, and the permissions for that directory are generally set to "Read/write", but other values can be set.

Right-click the new version of the Library, pop-up menu select Properties, in the pop-up window, the default all users are inherited permissions of the parent directory, if you need to modify a user's permissions on this version of the library, you need to click on the user and individually modified.

It is not recommended to add folders or files directly to the VISUALSVN server's administrative tools, preferably by using the client Tools TortoiseSVN for import and creation.

See TORTOISESVN's help guide for specific operations.

Import Version Library
Before you import a version library, build the folder structure locally for that version of the library

Set up
Right click on a different object, pop-up menu will be different, and the properties is the setting option is often possible place.

properties of VISUALSVN server
Right-click VisualSVN Server to select Properties. As pictured.
The Properties dialog box pops up, the first "tab" is "Genernal", where Repository root is the path to the version Coogan directory, and the default is c:/repository/, which can be modified to the place you need, In fact, this option is installed in the time is ready to configure.

-------------------------------------

SVN client: Recommended use of TOTOISESVN

TORTOISESVN is a client program used to communicate with the Subversion server side. Subversion takes a client-side program Svn.exe, but TortoiseSVN better operation and improve efficiency.

tortoisesvn Download Address:
Http://tortoisesvn.net/downloads

Tortoise SVN Client use attention
1. When submitting the source code to the server, be sure to ensure that the code is the most recent version, or it may commit failure or cause version conflict.
2. The update operation may fail because of a version conflict, which can be resolved using merge or other methods, or it may fail because of locking "get lock", which requires unlocking "release lock" first.
3. In fact, from the time you move the source code to the SVN server, each version of the data and files, even if you have deleted, can also be moved out at anytime.
4. When submitting the source code to the SVN server, do not submit bin, obj and other folders, otherwise it will be very troublesome. However, except for the bin directory of the Web project, DLLs generated by referencing other projects in the Bin directory of the Web project do not need to be committed.
5. A good habit: if the project refers to other Third-party assemblies, such as Enterpriselibrary, FCKeditor, and so on, do not simply refer to their installation location, but under your solution, add a library directory, Copy the required assembly here, and then quote from the Library directory, so what's the benefit, think about it yourself.

----------------------------------

problems and solutions encountered during installation of the use process.

1. Start-> program->VISUALSVN Server Manger, prompt Deny access
WORKAROUND: Set up on the firewall to allow Wmiprvse.exe access to the network under SVCHOST.exe.

2.TotoiseSVN Client Access exception: The server sent an unexpected return value (405 Method not allowed) in response to "PROPFIND" request "/"
WORKAROUND: The address is incorrect or does not have access rights. Modify the access address.

3.SVN Server, install TortoiseSVN client, prompt when submitting: Server sent unexpected return value (403 Forbidden) in response to Mkactivity
Reason: SVN in check out and other operations, is not sensitive to the URL case, can be in the case of commit/delete is sensitive, so when you set SVN server path, be sure to note the case.
Generally speaking, Check out, the case of the URL does not matter, but in the submission, merger, deletion and other operations, you must match the case, otherwise you will report the above error.

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.