mercurial/commands.py
changeset 27004 a4c26918fb23
parent 27003 487cca1bf61f
child 27010 f4fec0940278
--- a/mercurial/commands.py	Wed Nov 11 13:28:00 2015 -0800
+++ b/mercurial/commands.py	Tue Nov 17 14:22:30 2015 -0800
@@ -2556,6 +2556,9 @@
                 ui.write(('unrecognized entry: %s\t%s\n')
                          % (rtype, record.replace('\0', '\t')))
 
+    # Avoid mergestate.read() since it may raise an exception for unsupported
+    # merge state records. We shouldn't be doing this, but this is OK since this
+    # command is pretty low-level.
     ms = mergemod.mergestate(repo)
 
     # sort so that reasonable information is on top