##// END OF EJS Templates
commands.summary: switch to mergestate.read()...
Siddharth Agarwal -
r26994:676c3838 default
parent child Browse files
Show More
@@ -6208,8 +6208,15 b' def summary(ui, repo, **opts):'
6208 if d in status.added:
6208 if d in status.added:
6209 status.added.remove(d)
6209 status.added.remove(d)
6210
6210
6211 ms = mergemod.mergestate(repo)
6211 try:
6212 unresolved = [f for f in ms if ms[f] == 'u']
6212 ms = mergemod.mergestate.read(repo)
6213 except error.UnsupportedMergeRecords as e:
6214 s = ' '.join(e.recordtypes)
6215 ui.warn(
6216 _('warning: merge state has unsupported record types: %s\n') % s)
6217 unresolved = 0
6218 else:
6219 unresolved = [f for f in ms if ms[f] == 'u']
6213
6220
6214 subs = [s for s in ctx.substate if ctx.sub(s).dirty()]
6221 subs = [s for s in ctx.substate if ctx.sub(s).dirty()]
6215
6222
General Comments 0
You need to be logged in to leave comments. Login now