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

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

Re: [Gnu-arch-users] Re: Graphical merges


From: Tom Lord
Subject: Re: [Gnu-arch-users] Re: Graphical merges
Date: Wed, 21 Apr 2004 14:36:32 -0700 (PDT)

    > From: Stefan Monnier <address@hidden>

    > > It's worth considering Tom's solution: break star-merge into two phases:
    > > #This should dump the ANCESTOR and HIS trees and output their locations
    > > $tla star-merge --dump
    > > #You can invoke any merge tool you like here.
    > > #This should clean up the ANCESTOR and HIS trees
    > > $tla star-merge --cleanup

    > Except that such an interface forces the construction of 3
    > complete trees,

Not so.... it could just leave the modified files.

    > whereas the current `star-merge' interface can use a more efficient
    > implementation that only looks at files that have been changed in the
    > revisions between ancestor/mine/his.

    > Furthermore, you'd need side info to know how files have been moved,
    > etc... so the "any merge tool" needs to know a bit about Arch.

But that's trivial.   star-merge has to output, in some form or
another, a list of MINE/ANCESTOR/HIS triples.


    > Yes, maybe instead of --diff3-flags we should have --merge-cmd
    > so we can use something else than diff3.  That'd be fine with me.

No, that's exactly what to avoid.  User interaction for merging should
not occur within a single run of star-merge.

-t






reply via email to

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