# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1516284617 -19800 # Node ID 7ffbd911dbc94215248500f0f95064cf3b975144 # Parent a1a5c3842b6f11c5f9eb4c9c55ada2d211e389a0 merge: use public interface ms.localctx instead of ms._local diff -r a1a5c3842b6f -r 7ffbd911dbc9 mercurial/hg.py --- a/mercurial/hg.py Tue Jan 16 14:28:57 2018 +0100 +++ b/mercurial/hg.py Thu Jan 18 19:40:17 2018 +0530 @@ -15,7 +15,6 @@ from .i18n import _ from .node import ( - hex, nullid, ) @@ -858,7 +857,7 @@ ms = mergemod.mergestate.read(repo) if ms.active(): # there were conflicts - node = hex(ms._local) + node = ms.localctx.hex() else: # there were no conficts, mergestate was not stored node = repo['.'].hex()