Show More
@@ -756,8 +756,10 b' def getuipathfn(repo, legacyrelativevalu' | |||||
756 | cwd = repo.getcwd() |
|
756 | cwd = repo.getcwd() | |
757 | pathto = repo.pathto |
|
757 | pathto = repo.pathto | |
758 | return lambda f: pathto(f, cwd) |
|
758 | return lambda f: pathto(f, cwd) | |
|
759 | elif repo.ui.configbool('ui', 'slash'): | |||
|
760 | return lambda f: f | |||
759 | else: |
|
761 | else: | |
760 |
return |
|
762 | return util.localpath | |
761 |
|
763 | |||
762 | def subdiruipathfn(subpath, uipathfn): |
|
764 | def subdiruipathfn(subpath, uipathfn): | |
763 | '''Create a new uipathfn that treats the file as relative to subpath.''' |
|
765 | '''Create a new uipathfn that treats the file as relative to subpath.''' |
General Comments 0
You need to be logged in to leave comments.
Login now