mercurial/cmdutil.py
changeset 35037 602c168c0207
parent 35023 3649c3f2cd90
parent 34959 527655a049ee
child 35048 407ec7f3ff02
--- a/mercurial/cmdutil.py	Sat Oct 21 17:46:41 2017 +0900
+++ b/mercurial/cmdutil.py	Tue Nov 07 13:18:49 2017 -0500
@@ -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