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

Association Conflict Block Presentation Method and Apparatus

A related and unilateral technology, which is applied in software design, software engineering design, program code conversion, etc., can solve the problems that users cannot quickly locate related conflicting blocks, and achieve the effect of improving efficiency

Active Publication Date: 2021-10-22
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF4 Cites 0 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
  • Association Conflict Block Presentation Method and Apparatus
  • Association Conflict Block Presentation Method and Apparatus
  • Association Conflict Block Presentation Method and Apparatus

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 present application provides a method and device for presenting associated conflicting blocks. The method includes: obtaining a first conflict file, the first conflict file includes a plurality of code blocks, each code block includes a code segment of the current version of the code block, a code segment of the basic version of the code block, and the The code fragment of the version of the code block to be merged; receiving the first instruction triggered by the user interface for activating the code block to be processed, the type of the code block to be processed is an unresolved conflict block or a unilaterally changed block; presented on the user interface The code fragment contained in the code block to be processed and the indexes of the N associated code blocks of the code block to be processed; so that the user can quickly find the definition and usage of variables and / or functions in the current conflicting block, and can also Refer to the resolution scheme of the code block that is similar to the current conflict block and has been resolved, which greatly improves the efficiency of the user to resolve the conflict block.

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 Patents(China)
IPC IPC(8): G06F8/20G06F8/41
CPCG06F8/20G06F8/427G06F8/433G06F8/71G06F8/75G06F8/33G06F11/3604G06F8/77
Inventor 魏昭梁广泰程善滨王千祥
Owner HUAWEI CLOUD COMPUTING TECH CO LTD