Displaying changes to versioned files
AssigneeInternational Business Machines Corporation
InventorsGeoffrey M. Clemm, Paul Komar, Maneesh Mehra
Life of this patent
Estimating the term…
Abstract
Presenting changes to versioned files. The method can include presenting a first view comprising a plurality of indicators, each of the indicators corresponding to a respective version of a file. A selection of a particular version of a file can be detected. A selection of another version of the file can be detected. In response to the selection of the other version of the file, the versions of the file can be compared to identify differences between the versions. Comparison information based on the differences can be generated. The comparison information can be filtered so that the comparison information fits within a second view having a desired size.
Claims15
Within a system comprising a processor and a memory, a method of presenting changes to versioned files, the method comprising:
- presenting a first view comprising a plurality of indicators, each of the indicators corresponding to a respective version of a file;
- detecting a selection of a particular version of the file;
- detecting a selection of another version of the file;
- in response to the selection of the other version of the file;
- comparing the versions of the file to identify differences of lines of program code between the versions, and generating comparison information based on the differences of lines of program code;
- determining, via the processor, a desired size of a second view;
- fitting the comparison information within the second view having the desired size by reducing the volume of the comparison information, reducing the volume of the comparison information comprising selectively removing from at least one chunk of the comparison information lines of program code that have not changed between the particular version of the file and the other version of the file;
- wherein the comparison information comprises a plurality of chunks;
- selectively removing the lines of program code from the at least one chunk of the comparison information comprises selectively removing the at least one chunk of the comparison information;
- presenting at least one indicator within the first view where the chunk has been removed;
- detecting a selection of the indicator;
- presenting the removed chunk in a second view in response to the selection of the indicator;
- and
- automatically presenting the comparison information within the second view.
Within a system comprising a processor and a memory, a method of presenting changes to versioned files, the method comprising:
- detecting a selection of a particular version of the file;
- detecting a selection of another version of the file;
- comparing the selected versions of the file to identify differences of lines of program code between the versions, and generating comparison information based on the differences of lines of program code;
- determining, via the processor, a desired size of a first view in which the comparison information is to be presented;
- fitting the comparison information within the second view having the desired size by reducing the volume of the comparison information, reducing the volume of the comparison information comprising selectively removing from at least one chunk of the comparison information lines of program code that have not changed between the particular version of the file and the other version of the file;
- wherein the comparison information comprises a plurality of chunks;
- selectively removing the lines of program code from the at least one chunk of the comparison information comprises selectively removing the at least one chunk of the comparison information;
- the method further comprising:
- presenting at least one indicator within the first view where the chunk has been removed;
- detecting a selection of the indicator;
- presenting the removed chunk in a second view in response to the selection of the indicator;
- and
- automatically presenting the filtered comparison information within the first view.
A computer program product comprising:
- a computer readable storage device, wherein the computer readable storage device is not a transitory, propagating signal per se, having stored thereon computer readable program code that, when executed by a system comprising a processor and a memory, presents changes to versioned files, the computer readable storage medium comprising:
- computer readable program code that presents a first view comprising a plurality of indicators, each of the indicators corresponding to a respective version of a file, wherein the plurality of indicators are presented in a hierarchical manner that indicates relationships between the different versions of the file;
- computer readable program code that detects a selection of a particular version of the file;
- computer readable program code that detects a selection of another version of the file;
- computer readable program code that, in response to the selection of the other version of the file:
- compares the versions of the file to identify differences of lines of program code between the versions, and generates comparison information based on the differences of lines of program code;
- determines a desired size of a second view;
- fits the comparison information within the second view having the desired size by reducing the volume of the comparison information, reducing the volume of the comparison information comprising selectively removing from at least one chunk of the comparison information lines of program code that have not changed between the particular version of the file and the other version of the file;
- wherein the comparison information comprises a plurality of chunks;
- the computer program code that selectively removes the lines of program code from the at least one chunk of the comparison information comprises the computer program code that selectively removes at least one chunk of the comparison information;
- computer program code that presents at least one indicator within the first view where the chunk has been removed;
- computer program code that detects a selection of the indicator;
- computer program code that presents the removed chunk in a second view in response to the selection of the indicator;
- and
- automatically presents the comparison information within the second view.
Dependencies are inferred from the claim text.