mercurial/scmutil.py
changeset 41506 02186c6871ac
parent 41505 e6ec0737b706
child 41589 aec185af621e
--- a/mercurial/scmutil.py	Tue Jan 29 15:37:14 2019 -0800
+++ b/mercurial/scmutil.py	Tue Jan 29 15:37:35 2019 -0800
@@ -725,7 +725,9 @@
         return []
     return parents
 
-def getuipathfn(repo, relative):
+def getuipathfn(repo, relative=None):
+    if relative is None:
+        relative = repo.ui.configbool('ui', 'relative-paths')
     if relative:
         cwd = repo.getcwd()
         pathto = repo.pathto