Unlock instant, AI-driven research and patent intelligence for your innovation.

Associated conflict block presentation method and equipment

A technology of terminal equipment and association relationship, which is applied in software design, software engineering design, program code conversion, etc., and can solve the problems that users cannot quickly locate association conflicting blocks.

Active Publication Date: 2020-05-22
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example: the change information of the current version relative to the base version and the change information of the version to be merged relative to the base version, etc. When doing resolution, the user can use these insights to intuitively understand the code fragments of the three versions contained in the current conflict block. However, when users do resolution, they need to view the code fragments of the associated conflicting blocks more often. The above method only provides insight into the current conflicting block and cannot meet the user's needs for quickly locating the associated conflicting blocks.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Associated conflict block presentation method and equipment
  • Associated conflict block presentation method and equipment
  • Associated conflict block presentation method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0108] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the accompanying drawings in this application. Obviously, the described embodiments are part of the embodiments of this application , but not all examples. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0109] In this application, it should be explained that the terms "first" and "second" are only used for descriptive purposes, and should not be understood as indicating or implying relative importance. In addition, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for examp...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an associated conflict block presentation method and equipment. The method comprises the steps of acquiring a first conflict file, wherein the first conflict file comprises a plurality of code blocks, and each code block comprises a code fragment of a current version of the code block, a code fragment of a basic version of the code block and a code fragment of a to-be-mergedversion of the code block; receiving a first instruction which is triggered by a user interface and used for activating a to-be-processed code block, wherein the type of the to-be-processed code block is an unresolved conflict block or a unilateral change block; and presenting code fragments contained in the to-be-processed code block and indexes of N associated code blocks of the to-be-processedcode block on the user interface. Therefore, a user can quickly find the definition and the use condition of a variable and / or a function in the current conflict block. In addition, the resolution scheme of a code block which is similar to the current conflict block and has been resolved can be referred, and the conflict block resolution efficiency of the user is greatly improved.

Description

technical field [0001] The present application relates to the technical field of software development, in particular to a method and device for presenting associated conflict blocks. Background technique [0002] In the process of software development, when different project teams develop in parallel on the basis of the same version of code, after the development is completed, the codes developed by them need to be merged for reasons such as function merging. However, if different project teams make different changes to the same code entity in the base version during the development process, code conflicts will occur when merging. At present, many users use the SemanticMerge tool to automatically resolve conflicting blocks. However, this tool cannot completely resolve all conflicts generated during the code merging process. That is to say, the complete resolution of code conflicts still relies on manual participation. How to improve the efficiency of manual resolution? beco...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/20G06F8/41
CPCG06F8/20G06F8/427G06F8/433G06F8/71G06F8/75G06F8/33G06F11/3604G06F8/77
Inventor 魏昭梁广泰程善滨王千祥
Owner HUAWEI CLOUD COMPUTING TECH CO LTD