mercurial/cmdutil.py
branchstable
changeset 34981 527655a049ee
parent 34928 362096cfdb1f
child 34996 602c168c0207
child 35022 0ba3b928f9a9
--- a/mercurial/cmdutil.py	Fri Nov 03 22:22:50 2017 -0400
+++ b/mercurial/cmdutil.py	Sat Nov 04 23:39:54 2017 -0400
@@ -570,9 +570,8 @@
     unresolvedlist = [f for f in mergestate.unresolved() if m(f)]
     if unresolvedlist:
         mergeliststr = '\n'.join(
-            ['    %s' % os.path.relpath(
-                os.path.join(repo.root, path),
-                pycompat.getcwd()) for path in unresolvedlist])
+            ['    %s' % util.pathto(repo.root, pycompat.getcwd(), path)
+             for path in unresolvedlist])
         msg = _('''Unresolved merge conflicts:
 
 %s