commands.resolve: support printing out driver-resolved files
authorSiddharth Agarwal <sid0@fb.com>
Thu, 15 Oct 2015 00:45:20 -0700
changeset 26764 7ce6fd705495
parent 26763 50fc80e46786
child 26765 45976219eb80
commands.resolve: support printing out driver-resolved files There's no user-visible way to mark files as driver-resolved, so this status won't be visible.
mercurial/commands.py
--- a/mercurial/commands.py	Sat Oct 17 12:32:23 2015 -0700
+++ b/mercurial/commands.py	Thu Oct 15 00:45:20 2015 -0700
@@ -5588,7 +5588,8 @@
         for f in ms:
             if not m(f):
                 continue
-            l = 'resolve.' + {'u': 'unresolved', 'r': 'resolved'}[ms[f]]
+            l = 'resolve.' + {'u': 'unresolved', 'r': 'resolved',
+                              'd': 'driverresolved'}[ms[f]]
             fm.startitem()
             fm.condwrite(not nostatus, 'status', '%s ', ms[f].upper(), label=l)
             fm.write('path', '%s\n', f, label=l)