Skip to content
Snippets Groups Projects
Commit 770f5f58 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

narrow: make warning about possibly dirty files respect ui.relative-paths

Differential Revision: https://phab.mercurial-scm.org/D6264
parent 607a0de9
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@
match as matchmod,
merge,
repository,
scmutil,
sparse,
util,
)
......@@ -302,4 +303,5 @@
else:
trackeddirty.extend(lookup)
_deletecleanfiles(repo, clean)
uipathfn = scmutil.getuipathfn(repo)
for f in sorted(trackeddirty):
......@@ -305,5 +307,5 @@
for f in sorted(trackeddirty):
repo.ui.status(_('not deleting possibly dirty file %s\n') % f)
repo.ui.status(_('not deleting possibly dirty file %s\n') % uipathfn(f))
for f in clean + trackeddirty:
ds.drop(f)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment