Mercurial > public > mercurial-scm > hg
comparison mercurial/scmutil.py @ 41685:b81ecf3571d5
addremove: respect ui.relative-paths
I previously changed these code paths while trying to not change any
behavior to avoid inconsistencies between them in the intermediate
commits. They're now all ready to be switched over to respecting
ui.relative-paths.
Differential Revision: https://phab.mercurial-scm.org/D5936
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 11 Feb 2019 09:40:24 -0800 |
parents | a8d3a4be066e |
children | e21183db2259 |
comparison
equal
deleted
inserted
replaced
41684:a8d3a4be066e | 41685:b81ecf3571d5 |
---|---|
1123 repo.ui.status(status) | 1123 repo.ui.status(status) |
1124 | 1124 |
1125 # TODO: We should probably have the caller pass in uipathfn and apply it to | 1125 # TODO: We should probably have the caller pass in uipathfn and apply it to |
1126 # the messages above too. forcerelativevalue=True is consistent with how | 1126 # the messages above too. forcerelativevalue=True is consistent with how |
1127 # it used to work. | 1127 # it used to work. |
1128 uipathfn = getuipathfn(repo, forcerelativevalue=True) | 1128 uipathfn = getuipathfn(repo, legacyrelativevalue=True) |
1129 renames = _findrenames(repo, m, added + unknown, removed + deleted, | 1129 renames = _findrenames(repo, m, added + unknown, removed + deleted, |
1130 similarity, uipathfn) | 1130 similarity, uipathfn) |
1131 | 1131 |
1132 _markchanges(repo, unknown + forgotten, deleted, renames) | 1132 _markchanges(repo, unknown + forgotten, deleted, renames) |
1133 | 1133 |