[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] Re: star-merge vs apply-delta
From: |
Stefan Monnier |
Subject: |
[Gnu-arch-users] Re: star-merge vs apply-delta |
Date: |
09 May 2004 16:42:44 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>> AIUI three-way actually does two things to the patch behaviour
>> *) turns on --forward
>> *) turns on the <<<, ===, >>> style markers
Hmm... it's not that simple. It's not the same as --forward.
And it's not just <<<, ===, and >>> markers either.
> --three-way calls diff3 on the common ancestor, your version and mine.
> It's not aware of the history that lead your version and mine to this
> point.
When patch is called by star-merge it's just as unaware of the history.
> Without --three-way, conflicts solved by --forward can come from
> * Two developers doing the same change by hand (typically for a
> trivial bugfix)
> * Merging a patch which is actually a merge from you.
> The usual star-merge can distinguish the two behaviors with
> --skip-present, but diff3 and therefore --three-way can not AFAIK.
star-merge has no --skip-present option.
There are two more or less orthogonal issues at play here:
- which patch to apply (i.e. which base revision to use (for star-merge),
or which patches to skip (for other commands)). This is where the
history comes into play and where the above two situations can
be distinguished.
- how to apply it: use one call to diff3, one call to patch, several calls
to patch, ...
Stefan
- Re: [Gnu-arch-users] [MERGE REQUEST: lord] documentation and help enhancements, (continued)
- Re: [Gnu-arch-users] [MERGE REQUEST: lord] documentation and help enhancements, Robin Green, 2004/05/05
- Re: [Gnu-arch-users] [MERGE REQUEST: lord] documentation and help enhancements, Andrew Suffield, 2004/05/06
- Re: [Gnu-arch-users] [MERGE REQUEST: lord] documentation and help enhancements, Tom Lord, 2004/05/06
- Re: [Gnu-arch-users] [MERGE REQUEST: lord] documentation and help enhancements, Aaron Bentley, 2004/05/06
- Re: [Gnu-arch-users] [MERGE REQUEST: lord] documentation and help enhancements, Tom Lord, 2004/05/06
- Re: [Gnu-arch-users] [MERGE REQUEST: lord] documentation and help enhancements, Aaron Bentley, 2004/05/06
- [Gnu-arch-users] star-merge vs apply-delta (was: [MERGE REQUEST: lord] documentation and help enhancements), Stefan Monnier, 2004/05/06
- Re: [Gnu-arch-users] star-merge vs apply-delta (was: [MERGE REQUEST: lord] documentation and help enhancements), Miles Bader, 2004/05/06
- Re: [Gnu-arch-users] star-merge vs apply-delta (was: [MERGE REQUEST: lord] documentation and help enhancements), Robert Collins, 2004/05/07
- Re: [Gnu-arch-users] star-merge vs apply-delta, Matthieu Moy, 2004/05/07
- [Gnu-arch-users] Re: star-merge vs apply-delta,
Stefan Monnier <=