This is an archive of the discontinued Mercurial Phabricator instance.

grep: respect ui.relative-paths
ClosedPublic

Authored by martinvonz on Jan 30 2019, 8:36 PM.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Jan 30 2019, 8:36 PM
martinvonz updated this revision to Diff 13664.Jan 31 2019, 7:01 PM
yuja added a subscriber: yuja.Feb 1 2019, 9:09 PM
  • 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.

This revision was automatically updated to reflect the committed changes.