changeset 26653:cffc4f7c6c36

debugmergestate: add support for printing out driver-resolved files
author Siddharth Agarwal <sid0@fb.com>
date Wed, 30 Sep 2015 21:48:53 -0700
parents c502be14b4e2
children 30657909b2ba
files mercurial/commands.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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: