Version histories for multiple portions of program code
First Claim
1. A device, comprising:
- one or more processors to;
obtain program code;
partition the program code into a plurality of portions of program code,the plurality of portions including a first portion of program code and a second portion of program code;
store, in a first data structure, information that identifies the first portion of program code;
store, in a second data structure, information that identifies the second portion of program code,the first data structure and the second data structure being separately identifiable;
receive, via a user interface, input that modifies the first portion of program code from a first version to a second version;
store, in the first data structure, information that identifies the first version and the second version;
receive an indication to replace the second version with the first version;
identify the first data structure based on receiving the indication;
identify the first version using the first data structure; and
replace the second version with the first version, by providing the first version via the user interface, based on identifying the first version.
1 Assignment
0 Petitions
Accused Products
Abstract
A device may partition program code into multiple portions. The device may detect a first modification to a first portion of program code from a first version to a second version, and may detect a second modification to a second portion of program code from a third version to a fourth version. The device may detect the second modification after detecting the first modification. The device may store a first version history that identifies the first version, the second version, and a first temporal relationship between the first and second versions. The device may store a second version history that identifies the third version, the fourth version, and a second temporal relationship between the third and fourth versions. The device may receive an indication to undo the first modification after detecting the second modification, and may undo the first modification, without undoing the second modification, based on receiving the indication.
27 Citations
20 Claims
-
1. A device, comprising:
one or more processors to; obtain program code; partition the program code into a plurality of portions of program code, the plurality of portions including a first portion of program code and a second portion of program code; store, in a first data structure, information that identifies the first portion of program code; store, in a second data structure, information that identifies the second portion of program code, the first data structure and the second data structure being separately identifiable; receive, via a user interface, input that modifies the first portion of program code from a first version to a second version; store, in the first data structure, information that identifies the first version and the second version; receive an indication to replace the second version with the first version; identify the first data structure based on receiving the indication; identify the first version using the first data structure; and replace the second version with the first version, by providing the first version via the user interface, based on identifying the first version. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
8. A computer-readable medium storing instructions, the instructions comprising:
one or more instructions that, when executed by one or more processors, cause the one or more processors to; partition program code into a plurality of portions of program code; detect a first modification to a first portion of program code, of the plurality of portions of program code, from a first version to a second version; detect a second modification to a second portion of program code, of the plurality of portions of program code, from a third version to a fourth version, the second modification being detected after the first modification; store a first version history, associated with the first portion of program code, that identifies the first version, the second version, and a first temporal relationship between the first version and the second version; store a second version history, associated with the second portion of program code, that identifies the third version, the fourth version, and a second temporal relationship between the third version and the fourth version; receive an indication to undo the first modification after detecting the second modification; undo the first modification, without undoing the second modification, based on receiving the indication; and provide information associated with undoing the first modification. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
15. A method, comprising:
-
partitioning program code into a plurality of portions of program code, the partitioning being performed by one or more devices; detecting a first modification to a first portion of program code, of the plurality of portions of program code, from a first version to a second version, the detecting the first modification being performed by the one or more devices; detecting a second modification to a second portion of program code, of the plurality of portions of program code, from a third version to a fourth version, the detecting the second modification being performed by the one or more devices; storing a first version history, associated with the first portion of program code, that identifies the first version and the second version, the storing the first version history being performed by the one or more devices; storing a second version history, associated with the second portion of program code, that identifies the third version and the fourth version, the second version history being different from the first version history, the storing the second version history being performed by the one or more devices; determining to restore the first version of the first portion of program code or the third version of the second portion of program code, the determining to restore being performed by the one or more devices; and selectively performing a first action or a second action based on determining to restore the first version or the third version, the first action including replacing, on a user interface, the second version with the first version when determining to restore the first version, the second action including replacing, on the user interface, the fourth version with the third version when determining to restore the third version, and the selectively performing being performed by the one or more devices. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification