# US 10,310,848 B2 · Parallel development of diverged source streams

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,310,848 B2
- Document ID: US10310848B2
- Status: Granted
- Kind: B2
- Application number: 14/726,249
- Filed: 2015-05-29
- Published: 2016-04-21
- Granted: 2019-06-04
- Earliest claimed: 2014-10-16
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Jeffrey R. Hoy; Barry J. Pellas; David M. Stecher
- Web page: https://patentgrep.com/patent/US10310848B2

## CPC

- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 8/73: Program documentation
- G06F 9/44: Arrangements for executing specific programs
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and systems may provide for tracking, on a position-by-position basis in a diverged code history associated with a diverged source stream, an origin source stream and an original position of code contained within the diverged source stream. Additionally, a modification may be detected with respect to a first portion of the code contained within the diverged source stream at a first position. In such a case, the modification and the first position may be automatically documented in the diverged code history.

## Claims

### Claim 1

A method of managing parallel development of diverged source streams, comprising:
tracking, on a position-by-position basis in a diverged code history associated with a diverged source stream, an origin source stream and an original position of code contained within the diverged source stream, wherein the position-by-position basis is an argument/operand order, and wherein the diverged code history is a separate file;
detecting a modification to a first portion of the code contained within the diverged source stream at a first position;
presenting, through a user interface device, an option to ignore the detected modification;
receiving a request to merge shifted code contained within the diverged source stream with the origin source stream;
searching an origin code history associated with the origin source stream for content corresponding to the shifted code in the diverged code history to resolve the request;
automatically documenting the modification and the first position in the diverged code history with a textual annotation added to the diverged source stream and another separate file, the textual annotation annotating previous position, source stream and version level;
receiving a request to merge out-of-order code contained within the diverged source stream with the origin source stream, wherein the out-of-order code was modified prior to other code that has already been merged, wherein at least one other version of the diverged source stream is produced by executing the request to merge;
detecting a move of a second portion of the code in the diverged source stream from a second position to a third position; and
automatically documenting the move and the second position in the diverged code history,
wherein the move triggers a move indicator to be prepended to the origin stream indicator and the original position indicator in the diverged code history, and
wherein the move indicator indicates the diverged source stream and a version level at which the move occurred.

### Claim 2 (depends on 1)

The method of claim 1, further including:
detecting an addition of a third portion of the code in the diverged source stream at a fourth position; and
automatically documenting the addition in the diverged code history.

### Claim 3 (depends on 1)

The method of claim 1, further including tracking, on a position-by-position basis in the origin code history associated with the origin source stream, the origin source stream and the original position of code contained within the origin source stream.

### Claim 4 (depends on 3)

The method of claim 3, further including tracking, on a position-by-position basis in the origin code history, the diverged source stream and a diverged position of the code contained within the origin source stream.

### Claim 5 (depends on 1)

The method of claim 1, further including:
searching the origin code history associated with the origin source stream for content corresponding to the out-of-order code in the diverged code history to resolve the request.

### Claim 6 (depends on 1)

The method of claim 1, wherein the shifted code has changed positions from the origin source stream.

### Claim 7 (depends on 1)

The method of claim 1, further including:
receiving a request to merge conflicted code contained within the diverged source stream with the origin source stream, wherein the conflicted code is bounded by modified code; and
correlating content corresponding to the modified code in the diverged code history with content in an origin code history associated with the origin source stream to resolve the request.
