debugmergestate: add support for printing out driver-resolved files
authorSiddharth Agarwal <sid0@fb.com>
Wed, 30 Sep 2015 21:48:53 -0700
changeset 26653 cffc4f7c6c36
parent 26652 c502be14b4e2
child 26654 30657909b2ba
debugmergestate: add support for printing out driver-resolved files
mercurial/commands.py
--- a/mercurial/commands.py	Wed Sep 30 21:47:27 2015 -0700
+++ b/mercurial/commands.py	Wed Sep 30 21:48:53 2015 -0700
@@ -2512,8 +2512,9 @@
                 ui.write(('other: %s\n') % record)
             elif rtype == 'm':
                 driver, mdstate = record.split('\0', 1)
-                ui.write(('merge driver: %s (state "%s")\n') % (driver, mdstate))
-            elif rtype == 'F':
+                ui.write(('merge driver: %s (state "%s")\n')
+                         % (driver, mdstate))
+            elif rtype in 'FD':
                 r = record.split('\0')
                 f, state, hash, lfile, afile, anode, ofile = r[0:7]
                 if version == 1: