localrepo.commit: switch to mergestate.read()

See previous patches for why we're doing this.
This commit is contained in:
Siddharth Agarwal 2015-11-17 13:58:50 -08:00
parent 178aa21f0d
commit b5cb4f4050

View File

@ -1556,7 +1556,7 @@ class localrepository(object):
raise error.Abort(_("cannot commit merge with missing files"))
unresolved, driverresolved = False, False
ms = mergemod.mergestate(self)
ms = mergemod.mergestate.read(self)
for f in status.modified:
if f in ms:
if ms[f] == 'u':