diff mercurial/cmdutil.py @ 35037:602c168c0207

merge with stable
author Augie Fackler <augie@google.com>
date Tue, 07 Nov 2017 13:18:49 -0500
parents 3649c3f2cd90 527655a049ee
children 407ec7f3ff02
line wrap: on
line diff
--- 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