This is an archive of the discontinued Mercurial Phabricator instance.

revsetlang: add a hint for more useful parse errors
ClosedPublic

Authored by ryanmce on Mar 3 2018, 6:31 PM.

Details

Summary

This logic is largely based on the similar logic added to template error
messages in D2608 and D2609, but with a few tweaks based on how revsets
actually work.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

ryanmce created this revision.Mar 3 2018, 6:31 PM
lothiraldan accepted this revision.Mar 3 2018, 10:31 PM
yuja added a subscriber: yuja.Mar 4 2018, 7:49 AM

Queued, thanks.

tests/test-revset.t
2796

Rewritten this as mulitple echos to silence check-code.

This revision was automatically updated to reflect the committed changes.