Release Notes of Version Management Software visualsvn, tortoisesvn, and ankhsvn

Source: Internet
Author: User

I wrote a few articles about Software Configuration Management, including visual SVN, tortoisesvn, and ankhsvn, but I didn't give any further introduction.

Then I checked my own article yesterday and found some errors and some other places to be supplemented. So I want to add these contents tonight so that I will not forget them in the future.

Addresses of my previous articles: Visual SVN, tortoisesvn, and ankhsvn Software Configuration Management

The content to be supplemented is as follows:

1. I said in Series 3 visualsvn Server

"

If you do not select use secure connection or server port, the default port number is 80/81/8080. If you select the last checkbox, the secure connection [HTTPS protocol] is used ], port 433/8433 is only available.
It is selected by default. (For server port, I chose port 80. I didn't check use secure connection. I don't think it is necessary to use secure connection.) As for authorizing authentication,
By default, users and user groups that come with visual SVN server are selected.

"

In fact, you should check use secure connection. If you do not do this, the code you write may be stolen because I thought it was too frivolous (Sorry, everyone) Because I went home, cannot go back to the company for testing,

Therefore, visual SVN server is placed at home and tortoisesvn is used in Internet cafes. Then check use secure connection. The port is 8443. When I use tortoisesvn to download the code, tortoisesvn prompts me that I need creden,

Then I click "OK" and prompt me to enter the user name and password on the visualsvn server. I have entered the password. The dialog box that requires creden has two requirements, it is estimated that there is no certificate relationship. After entering the user name and password, you can download the code.

I guess because there is no certificate relationship, even if the download is successful, you can use the visualsvn server for project version management, but the transmitted data should not be encrypted, people who want to know how to install the certificate can prompt me.

I am sorry for the error reported by tortoisesvn during the experiment at home tonight because I am not in the Internet cafe.

 

2. Supplement: This is missing in Series 5 ankhsvn. If you modify the URL in the visualsvn server, for example, your original URL is https: // JOE: 8443/SVN/gpos/

And then you change to the public network domain name: https://joe.xicp.net: 8443/SVN/gpos (Joe is my computer name), then you originally in vs project with the original checked out documents

You need to download all the files again. For example, if the project folder of the code you downloaded is in the path D: \ gpos in the gpos folder, you need to delete all the items in the folder and re-download them.

In vs, select a new URL and re-download it to D: \ gpos. The original document is also. In tortoisesvn, select a new URL and create a folder and download it to the new folder.

Inside

 

 

 

Finally, I attached some data that I tested visualsvn server today.

Test environment: Internet cafe (tortoisesvn installed) (visual SVN server, vs2008, and ankhsvn installed)

Network: Internet cafe bandwidth: 8 m home bandwidth: 4 m

The entire company project folder is about 160 MB in size

(1) It took 15 minutes to download the source code of the company's project, including the bin folder resharper folder (we used the resharper vs2008 code prompt tool plug-in, so there will be a resharper folder in the project folder)

(2) Update the code file in the internet cafe. You can immediately update the file at home to see the changes in the Internet cafe.

(3) After the download is complete, tortoisesvn prompts that a total of over 40 50 m files have been downloaded. You need to consult experts. The project folder size of the entire company is about 160 MB, why does tortoisesvn prompt you to download more than 40 MB of files?

 

Finally, thank you for reading my article.

(If there is anything wrong, you are welcome to make a picture)

Wrong. The entire company project folder is about 99 MB. It takes 8 minutes to upload the entire company project folder to visual SVN server.

Note: The project folder of the company and visual SVN server are on the same computer.

 

Finally, I forgot to mention that after the project folder is imported, I can delete the project folder. The server only saves the svn-encoded code.

Only the svn software can be used to open the project. to back up the entire project folder, you must upload your project folder to the server's code backup on the client.

Folder

If the code of all developers is lost, and there is no backup code in the Code backup folder on the server, you can only download it using vs or tortoisesvn.

Code on visual SVN Server

I guess the project code will be saved in the DB folder, and the svn software will decode it by itself.

 

Let's talk about today's question on February 16:

Visual SVN sever cannot be installed on company servers

Installing visual SVN sever on Windows2003 fails to start SVN Service Installation

Visual SVN sever version 2.1.4

Windows2003 standard SP1 32-bit

Install a Patch online

Windowsinstaller-kb893803-v2-x86.exe

However, when downloading and installing the patch, I said: the current environment version is newer than my patch version.

In Windows Event Viewer
The visualsvn Server service is stopped due to a 1 (0x1) service error.
In the service list, you cannot manually start the service. The service has been set to auto start.

Bytes --------------------------------------------------------------------------------------------------

The operating system has been patched with SP2.

Finally, I can set the svn Service Startup account to a local account.

Find this sentence on the website of visual SVN Server

Visualsvn server stores all repositories (and any related data) in a single folder on the local disk (C: \ repositories by default ). this article describes how to configure visualsvn server to store Repositories on a network share.

Permission ing required Access Permissions

Required access permissions for the repositories folder stored on a local disk are configured automatically by visualsvn server during the installation. If repositories are stored on a network share, you should configure access permissions manually

By default, built-in system network service account is used to run visualsvn Server service. this account has minimum privileges on the Local Computer and acts as the computer on the network, so you shoshould simply grant access to the computer where visualsvn server is installed.

If you place the code repository in the Local repositories, you do not need the network service account to start the svn service. If the repositories code repository is placed in other

On the machine, you need a network service account to start the svn service, because the network service account has the permission to access network files.

Fortunately, the code repository is placed on the local machine, otherwise it will not be used !!!

Article: http://www.visualsvn.com/support/topic/00022/

 

After the project is finished, I will summarize my feelings about using SVN, and I feel that SVN is not as good as VSS. I thought it was possible to merge the code to solve the conflict, but our project is a winform project, in a form

The code in the designer file is automatically generated by vs. Several times the code conflict occurs in the designer file. because two people edit a form at the same time, programmer A deletes a control in the form.

Programmer B does not delete any control in the form. When the code is merged, the problem arises. Several times XX Control calls the begininit () method without endinit (), thought

You can add an endinit () method at will, but you cannot try this method. The endinit () method cannot be added at will, and the endinit () method can be added regularly, and the vs ininit () added by ()

And begininit () are not XX control. begininit XX control. endinit ()

1           ((System.ComponentModel.ISupportInitialize)(this.superTab_SerList)).BeginInit();2             ((System.ComponentModel.ISupportInitialize)(this.superTab_SerList)).EndInit();

 

Every time we encounter code conflicts in the designer file, it is a disaster. We need to re-store the backup code from the previous day into the project, then delete the code library in the svn project, and re-build the code library.

Then re-import the code. Although SVN also provides the "Lock" function like VSS, You need to manually right-click the file and lock it. Unlike VSS, all files have been locked at the beginning.

I hope you have used it and will share some important points and usage of SVN.

 

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.