Use SVN source code management tool in Keil

Source: Internet
Author: User
Tags tortoisesvn

[Original]

We are using Keil recently. I want to try it.Source codeManagement tools to facilitate the project teamCodeManagement.

(My Keil version is 3)

1. There is a menu SVCs in Keil

Open the configure version control... menu.

Configure the command of each source code management tool here (I have configured the command with content; if you have not configured the command, it should be blank)

The location is found!

From this point, we can see that the SVCs menu is generated by configuring some external commands (I use tortoisesvn, the generated SVCs menu is saved in a file with the suffix SVCs. (For details, refer to the Keil manual)

2. It is too difficult to configure so many commands. I will help you sort out the configuration by following the steps below:

2.1 install the turtle tortoisesvn. You can find it on the Internet. You can also install a Chinese package on their websites. Assume that your installation path is c: \ Program Files \ tortoisesvn.

2.2 download my svnforkeil. SVCs, open the [configure version control...] menu, and select this SVCs file in template file. [OK]

The following is an excerpt from my SVCs file:

[SVCs]
Database = https://www.svnchina.com/svn/myprject1/source/myprject1code
Menuitem = ------ file operation [% F ]------
Command =
Arguments =
Environment =
Runminimized = 0
Querycomment = 0
Queryrevision = 0
Querycheckpoint = 0
Initial_folder =
Menuitem = Update)
Command = c: \ Program Files \ tortoisesvn \ bin \ tortoiseproc.exe
Arguments =/command: update/path: % F
Environment =
Runminimized = 0
Querycomment = 0
Queryrevision = 0
Querycheckpoint = 0
Initial_folder =

It should be noted that in Database: You should fill in the svn project directory, which can be a LAN or a public network. Example https://www.svnchina.com/svn/myprject1/source/myprject1code

2.3. Below is my menu interface, you should be the same

In addition, I added the needs-lock to the files managed by SVN.

The key icon is displayed in the locked file.

3. How to use it?

Please understand SVN first, and these commands will be easy to understand.

In the tree project management box on the left of Keil, select a file and click the "Update" command in SVCs.

The interface window of the turtle is displayed. The rest are similar.

4. There are some minor issues. I configured 23 menu items, but only 20 items are displayed. I don't know why.

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.