This is an archive of the discontinued Mercurial Phabricator instance.

revset: provide a way to check ordering support
AbandonedPublic

Authored by quark on Aug 20 2017, 3:58 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

Ordering support issues could be tricky to discover since they may be hidden
behind other side effects.

This patch implements debugrevspec --check-ordering so it can be used to
test ordering support of revset implementations. Handy for extension
developers.

A test was added showing that command is able to detect a lot of ordering
issues in core hg.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped