gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Re: tla apply-changeset --three-way ??


From: Matthieu Moy
Subject: [Gnu-arch-users] Re: tla apply-changeset --three-way ??
Date: Sat, 23 Oct 2004 13:03:43 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)

Zenaan Harkness <address@hidden> writes:

> Is there a patch/plan for apply-changeset "--three-way" option?

That's not so simple as it seem to be: Suppose you have a patch saying
rougly this

 context line before
-line to remove
+line to add
 context line after

And try to apply it to a file where the strings "context line before",
"line to remove" and "context line after" are not present. Then, patch
can simply not do anything.

star-merge --three-way works in a very different way. It doesn't rely
on patches, but on the full text verison of you file, the file to
merge, and the common ancestor. Then, diff3 can do the merge using
those diff3 markers for conflicts.

-- 
Matthieu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]