RAA - merge3

merge3 / 0.9

Short description: Three way merge (similar to diff3)
Category: Library/Algorithm
Status: stable
Created: 2006-07-19 19:49:43 GMT
Last update: 2006-07-19 19:49:43 GMT
Owner: torsten (Projects of this owner)
Homepage: http://merge3.rubyforge.org/wiki/wiki.pl
Download: http://rubyforge.org/frs/?group_id=486&release_id=5249
License: LGPL
Dependency:
None
Description:

Merge3 is a new algorithm for ThreeWay merging of text/binary files. ThreeWay merging tries to merge two independently edited documents into a consistent one. It does so using the original file and the two edited, thus three way merging.

The merging algorithm is quite simple, and may be summarised as following the LineOfChange. Thus if one compares both files to the original and finds the common parts, one implicitly has found the added and deleted parts in both files. When all these parts are ordered, one walks along them, and wherever in the two edited files there is a change in the order, we take the bytes from there.

Edit this project (for project owner)

back to RAA top