DenkzeitWiki

Suchen:

Aktuelle Änderungen Printable View Änderungen Bearbeiten

LoC > LooseCoupling > Lua > LucaBolognese > MSDN > Macros > LispMacros > ManageSGFRecords > ManifestTyping > MarkUp > MartinFowler > Maven > McCarthy > Memex > MemoryLeaks > MercurialHosting > MergingClear Trail
Main /

Merging

Rebasing
Branching

VersionControl
VersionControlBestPractices


vs. Rebasing


3-way merging


Merging between branches







TeamSystem

 Traditional 3-way merges work the following way:
1. Identify a base version (automatically by leveraging merge history)
2. Compute a patch that if applied to the base will provide the derived file1 (left)
3. Compute a patch that if applied to the base will provide the derived file2 (right)
4. Merge both patches into the base version and create an output which is a merge that has both changes from file1 (left) and file2 (right)

A baseless merge scenario is created when the application is unable to identify a base version and requires the user to define one. Team Foundation relies on merge history to identify a base version but when branches do not have a direct relationship (meaning they are not branched from each other or in other terms are not parent-child) this history does not exist. At this point the application is not able to establish a base version and a baseless merge is the only way to merge changes.


Edit - BackLinks - Tags - Page Hist - Print - Changes - Home - Orphans - Help

Zuletzt geändert am 12.11.2011 19:02 Uhr und seit 7. April 2005 682 aufgerufen.