[Svnmerge] [PATCH] Add ability to mark change sets as merged
Giovanni Bajo
rasky at develer.com
Tue Mar 28 16:35:28 PST 2006
David James <djames at collab.net> wrote:
>> """
>> [...]
>> The immediate effect is the same (the revision is not available for
>> merge anymore), but the behaviour will be more correct with respect
>> to merge across multiple branches.
>> """
>
> Really? Why would --record-only allow svnmerge.py to behave more
> correctly?
Lie to svnmerge.py and it will take its revenge :)
You manual-merge r100 from A to B, and block it in B (instead of
using --record-only). Then you merge all the changes from B to C: this
effectively brings in the manual merge of r100, but C doesn't know about it.
You then merge everything from A to C, and you get conflicts because r100 is
merged again.
I'm not sure svnmerge.py is *currently* smart enough that, if you
use --record-only, it understands that it doesn't need to merge r100 from A to
C. Surely, it is a feature that it is feasable. Even if it doesn't right now,
my point that you shouldn't lie to svnmerge still stands.
Anyway, I'm satisfied with what was committed right now as part of the help of
'block'. It is clear enough.
Giovanni Bajo
More information about the Svnmerge
mailing list