hgmerge.py in mainstream mercurial distribution

dhruva dhruvakm at gmail.com
Tue Dec 11 07:01:07 CST 2007


Hi,

On Dec 11, 2007 6:13 PM, Arve Knudsen <arve.knudsen at gmail.com> wrote:
> There wasn't a whole lot that was said. The gist of it was that Matt
> required that hgmerge.py be simplified, made easy to extend with support for
> new tools (perhaps defined from outside the Python code?) and made
> configurable so that people can easily write merge handlers  e.g. for
> special file types (such as .doc). That was my understanding anyway.

Thanks, I will start exploring ways to simplify and keep it
extensible. Related to this topic, would it be a nice idea to have
something like emacs 'defadvice'. Using it, you are redefine some of
the functions to execute something before it is called and/or after it
is called. An alternative would be to have hooks 'pre and post' for
all such functions. This makes it really extensible.

-dky

-- 
Contents reflect my personal views only!


More information about the Mercurial-devel mailing list