Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Branch access method and device based on distributed version control system

A version control and access method technology, applied in the computer field, can solve the problem of low execution efficiency of branch switching, and achieve the effect of improving development and testing efficiency

Active Publication Date: 2019-01-25
WUBA
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a branch access method, device, terminal and storage medium based on a distributed version control system to solve the problem of low execution efficiency during branch switching in the prior art

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
  • Branch access method and device based on distributed version control system
  • Branch access method and device based on distributed version control system
  • Branch access method and device based on distributed version control system

Examples

Experimental program
Comparison scheme
Effect test

no. 9 example

[0107] The ninth embodiment of the present invention, this embodiment introduces an application example of the present invention, combining Figure 8 ,

[0108] For branches that are frequently accessed, take them out and save them as separate directories. For example, use the branch names br1, br2, and br3 as the directory names to create directories, and then store the code files of the corresponding branches in the current directory; when multiple tasks are accessed in parallel When, as shown in the figure, task 1, task 2, and task 3, if multiple tasks correspond to the same branch, you can read the same branch at the same time. The branch name of each task is different, and you only need to find the corresponding directory according to the branch name That’s right, there is no need to perform branch switching, which solves the conflict problem caused by branch switching, and also saves storage space. In this embodiment, since the directory is the branch name, the .git fil...

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 discloses a branch access method, a device, a terminal and a storage medium based on a distributed version control system, wherein, the method comprises the following steps: determininga plurality of branches of a complete code file in the distributed version control system; creating a first branch directory for a designated branch and storing a code file of the designated branch ina corresponding first branch directory; according to the target branch to be accessed, searching the corresponding first branch directory, and accessing the code file in the found first branch directory. The invention solves the problem of low execution efficiency in branch switching and improves the development and test efficiency by storing the frequently accessed branches separately, which canaccess any branch at any time without branch switching, and the access of the branch does not produce conflict.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a branch access method and device based on a distributed version control system. Background technique [0002] There is a code stored on the server, and the file takes up a lot of space. The version is managed by the distributed version control system git. If the download is particularly time-consuming, it may take an hour. Considering the issue of efficiency, if there is a task that needs to use this code, such as a packaging task, it cannot be downloaded temporarily at this time, and only the local code can be used for each task. If multiple tasks use this code at the same time, and the branches that need to be switched are different, there will be conflicts or tasks will go wrong. In most tasks, you may only switch between 2 to 3 branches, such as packaging tasks, usually add one or two previous branches to the current version branch (branches usually refer to version branc...

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/658
CPCG06F8/658
Inventor 曾庆隆吕庆春彭飞
Owner WUBA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products