This is an archive of the discontinued Mercurial Phabricator instance.

fastlog: use ui.log() instead of ui.warn()
ClosedPublic

Authored by stash on Aug 18 2017, 12:43 PM.
Tags
None
Subscribers
None

Details

Reviewers
quark
Group Reviewers
Restricted Project
Commits
rFBHGXecc4c4abe485: fastlog: use ui.log() instead of ui.warn()
Summary

ui.warn() just prints to the stderr. It has two disadvantages:

  1. Distracts a user
  2. Doesn't notify us about the problem.

Let's use ui.log() that will send result to our logging system

Test Plan

Run unit-tests

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

stash created this revision.Aug 18 2017, 12:43 PM
quark accepted this revision.Aug 18 2017, 2:32 PM
This revision is now accepted and ready to land.Aug 18 2017, 2:32 PM
This revision was automatically updated to reflect the committed changes.