Patents
US 8,719,786 B2#27147534 Most CitedExpiredUnited States (USPTO)Utility

Method for performing conditionalized N-way merging of source code

4Forward Citations (#27147534 Global)
0.3/yrCitation Velocity (#23457980 Global)
1.09Citation PageRank (#36876689 Global)
28Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method combines N versions of a C/C++ program into a single, semantically correct, unified program, while maintaining the semantics of each version within N. The problem of merge conflicts is avoided by conditionalizing changes that potentially conflict, according to a set of preprocessors definitions that uniquely define the version within N. Conditionalization is realized through C/C++ preprocessing directives (e.g., #if, #else, #elif).

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 4.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for performing conditionalized N-way merging of source code associated with a program, comprising: collecting differential information for each of N versions of source code, the source code having lines of text; constructing a merge data structure using the differential information, the merge data structure comprising a plurality of common blocks and delta blocks, wherein each common block defines a respective sequence of textual lines of source code, each delta block defines an addition or deletion or change to a corresponding common block, each common block and delta block being ass

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (28)

PatentTitleYearCitations
US 5,481,777 AReleasable mop head199611
US 5,649,200 ADynamic rule-based version control system1997689
US 5,715,454 AVersion control of documents by independent line change packaging199846
US 5,946,488 AMethod for selectively and incrementally displaying the results of preprocessing199966
US 6,029,002 AMethod and apparatus for analyzing computer code using weakest precondition2000194
US 6,149,318 ALink-time and run-time error detection, and program instrumentation2000164
US 2002059469 A1Negotiating optimum parameters in a system of interconnected components—9
US 6,415,299 B1Method for merging versions of a model in an object oriented repository200261
US 6,427,228 B1Combining a meta data file and java source code to dynamically create java classes and javabeans200289
US 6,542,906 B2Method of and an apparatus for merging a sequence of delta files200397
US 2003084424 A1Pattern-based comparison and merging of model versions—101
US 2003149689 A1System and method for providing result sets using EJB query language—27
US 2003182572 A1Pointguard: method and system for protecting programs against pointer corruption attacks—88
US 6,668,325 B1Obfuscation techniques for enhancing software security2003530
US 2004230886 A1Method and system for providing a representation of merge conflicts in a three-way merge operation—54
US 2005039173 A1Method and apparatus for transforming legacy software applications into modern object-oriented distributed systems—60
US 2005251533 A1Migrating data integration processes through use of externalized metadata representations—105
US 2006106889 A1Method, system, and program for managing revisions to a file—32
US 2006117075 A1Prerequisite, dependent and atomic deltas—25
US 7,089,270 B2Processing software images for use in generating difference files200636
US 2006212859 A1System and method for generating XML-based language parser and writer—36
US 7,117,488 B1Safe computer code formats and methods for generating safe computer code200639
US 7,131,112 B1Managing code changes for software development200682
US 2007016629 A1Processing software images and generating difference files—26
US 7,228,529 B2Restructuring computer programs20078
US 2007157173 A1Method and system for multi-version digital authoring—39

Non-Patent Literature (5)

  • "Configuration Management with Version Sets", Andreas Zeller, Apr. 1997, Technische Universitat Braunschweig.
  • "Rational ClearCase, Developing Software, Windows Edition," Version 2002.05.00 and later, Rational Software Corporation, Section 5.3, pp. 69-81.
  • "Syntactic Software Merging", Jim Buffenbarger, Boise State University.
  • "Version Management with CVS," for CVS 1.11.18, Per Cederqvist et al., 2004, Sections 10.2 and 10.3, pp. 64-67.
  • A. Garrido and R. Johnson, "Handling Preprocessor Macros in Refactoring," ACM SIGPLAN Conference on Programming Language Design and Implementation, 2004.