D5777: grep: respect ui.relative-paths

Yuya Nishihara yuya at tcha.org
Sat Feb 2 02:00:27 UTC 2019


> -            fm.data(node=fm.hexfunc(scmutil.binnode(ctx)))
> -            fm.write('path', '%s', fn, label='grep.filename')
> +            fm.data(node=fm.hexfunc(scmutil.binnode(ctx)), path=fn)
> +            fm.plain('%s' % uipathfn(fn), label='grep.filename')

Removed useless `'%s' %` and queued, thanks.


More information about the Mercurial-devel mailing list