# HG changeset patch # User Sune Foldager # Date 1257344299 -3600 # Node ID 5858117a007732940a71ac2b2e035d086d8320c3 # Parent a9424b6a1a6da70f28b1a61221d8fdc9e044f6c8 merge: supply base node to merge tools in the environment Merge tools will be able to exploit this to correctly merge backouts. This won't work fully, though, until issue 1327 is solved, since the node information is not necessarily correct. diff -r a9424b6a1a6d -r 5858117a0077 mercurial/filemerge.py --- a/mercurial/filemerge.py Wed Nov 04 09:34:04 2009 +0100 +++ b/mercurial/filemerge.py Wed Nov 04 15:18:19 2009 +0100 @@ -186,6 +186,7 @@ env = dict(HG_FILE=fd, HG_MY_NODE=short(mynode), HG_OTHER_NODE=str(fco.changectx()), + HG_BASE_NODE=str(fca.changectx()), HG_MY_ISLINK='l' in fcd.flags(), HG_OTHER_ISLINK='l' in fco.flags(), HG_BASE_ISLINK='l' in fca.flags())