This is an archive of the discontinued Mercurial Phabricator instance.

grep: hide cryptic revision number by default
ClosedPublic

Authored by yuja on Jul 11 2018, 10:16 AM.

Details

Summary

I believe nobody would want to see the "2147483647:" prefix while grepping
working directory files.

The wdir revision is still visible if "-r wdir()" is specified since a revset
may point to more than one revisions, and it seems confusing to change the
visibility dynamically by the number of the matched revisions.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

yuja created this revision.Jul 11 2018, 10:16 AM
pulkit accepted this revision.Jul 11 2018, 1:42 PM
This revision was automatically updated to reflect the committed changes.