[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.