mercurial/commands.py
changeset 41511 72a9aacff645
parent 41492 02186c6871ac
child 41512 16454d938299
--- a/mercurial/commands.py	Wed Jan 30 12:05:43 2019 -0800
+++ b/mercurial/commands.py	Tue Jan 29 12:01:13 2019 -0800
@@ -4840,6 +4840,8 @@
                                  b'$$ &Yes $$ &No')):
                 raise error.Abort(_('user quit'))
 
+    uipathfn = scmutil.getuipathfn(repo)
+
     if show:
         ui.pager('resolve')
         fm = ui.formatter('resolve', opts)
@@ -4867,7 +4869,8 @@
             fm.startitem()
             fm.context(ctx=wctx)
             fm.condwrite(not nostatus, 'mergestatus', '%s ', key, label=label)
-            fm.write('path', '%s\n', f, label=label)
+            fm.data(path=f)
+            fm.plain('%s\n' % uipathfn(f), label=label)
         fm.end()
         return 0