Show More
@@ -802,8 +802,9 b' def matchandpats(ctx, pats=(), opts=None' | |||||
802 | if not globbed and default == 'relpath': |
|
802 | if not globbed and default == 'relpath': | |
803 | pats = expandpats(pats or []) |
|
803 | pats = expandpats(pats or []) | |
804 |
|
804 | |||
|
805 | uipathfn = getuipathfn(ctx.repo(), legacyrelativevalue=True) | |||
805 | def bad(f, msg): |
|
806 | def bad(f, msg): | |
806 |
ctx.repo().ui.warn("%s: %s\n" % ( |
|
807 | ctx.repo().ui.warn("%s: %s\n" % (uipathfn(f), msg)) | |
807 |
|
808 | |||
808 | if badfn is None: |
|
809 | if badfn is None: | |
809 | badfn = bad |
|
810 | badfn = bad |
General Comments 0
You need to be logged in to leave comments.
Login now