SVN-like merging

Matt Mackall mpm at selenic.com
Thu May 4 14:30:45 CDT 2006


On Thu, May 04, 2006 at 03:31:15PM -0400, S?bastien Pierre wrote:
> Hi all,
> 
> I would like to know if there is an option to do SVN-like merging:
> 
> - When updating (checking out) a revision that has conflicts with the
> current one, original files are copied and appended the ".orig" suffix
> and new files are checked-out as ".new".
> 
> - The user can then manually resolve each conflict. Conflict resolution
> is explicitely notified by running the "resolve" command with the name
> of the resolved conflict.
> 
> Is this possible in Mercurial ?

All merging is handled by the external merge script. Simply replace
that script with one that does the appropriate thing, it should be
about 3 lines.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list