Code synchronizing method and apparatus
A synchronization device and code technology, applied in the direction of program control devices, etc., can solve the problems of low manual operation efficiency, achieve the effect of improving version release efficiency and reducing manual operation costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] According to the embodiment of the present invention, a method embodiment that can be executed by the device embodiment of the present application is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be implemented in a computer system such as a set of computer-executable instructions and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
[0038] According to an embodiment of the present invention, a code synchronization method is provided, figure 2 is a flowchart of a code synchronization method according to an embodiment of the present invention, such as figure 2 As shown, the code synchronization method includes the following steps S202 to S208:
[0039] S202: Obtain the synchronization parameters of the target branch, wherein the target branch is a branch for editing the branch code, and the ...
Embodiment 2
[0067] According to the embodiment of the present invention, there is also provided a code synchronization device for implementing the above code synchronization method, the code synchronization device is mainly used to execute the code synchronization method provided in the above content of the embodiment of the present invention, the following describes the embodiment of the present invention The provided code synchronization device is introduced in detail:
[0068] Figure 4 is a schematic diagram of a code synchronization device according to an embodiment of the present invention, such as Figure 4 As shown, the code synchronization device mainly includes a first acquisition unit 10, a second acquisition unit 20, a third acquisition unit 30 and a synchronization unit 40, wherein:
[0069] The first obtaining unit 10 is used to obtain the synchronization parameters of the target branch, wherein the target branch is a branch for editing the branch code, and the target branc...
Embodiment 3
[0083] According to an embodiment of the present invention, there is also provided a terminal device for implementing the above code synchronization method, the terminal device includes a processor performing the following operations:
[0084] Obtain the synchronization parameters of the target branch, where the target branch is the branch for editing the branch code, and the target branch has pre-configured synchronization parameters; obtain the conflict handling method from the synchronization parameters, and obtain the trunk according to the branch attributes and synchronization parameters of the target branch Synchronization range; obtain the branch code on the target branch; and synchronize the trunk code within the trunk synchronization range to the branch code, and handle conflicts in the synchronization process according to the conflict handling method.
[0085] Query the start revision number of the trunk synchronization range from the branch properties; query the end ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com