Submitter | phabricator |
---|---|
Date | Feb. 10, 2019, 3:41 a.m. |
Message ID | <146815ba6a0e7925507549109b4f2a20@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/38641/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py --- a/mercurial/scmutil.py +++ b/mercurial/scmutil.py @@ -802,8 +802,9 @@ if not globbed and default == 'relpath': pats = expandpats(pats or []) + uipathfn = getuipathfn(ctx.repo(), legacyrelativevalue=True) def bad(f, msg): - ctx.repo().ui.warn("%s: %s\n" % (m.rel(f), msg)) + ctx.repo().ui.warn("%s: %s\n" % (uipathfn(f), msg)) if badfn is None: badfn = bad