This is an archive of the discontinued Mercurial Phabricator instance.

revset: improve documentation about ordering handling
ClosedPublic

Authored by quark on Aug 25 2017, 8:14 PM.

Details

Summary

The old documentation is a bit confusing. Namely, it's unclear whether
define means "I should ALWAYS define a new order", or "I should SOMETIMES
define a new order", and if it's the latter, what's the difference between
define and any?

This patch clarifies that and adds more examples.

Diff Detail

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

Event Timeline

quark created this revision.Aug 25 2017, 8:14 PM
yuja accepted this revision.Aug 27 2017, 8:46 AM
This revision is now accepted and ready to land.Aug 27 2017, 8:46 AM
quark updated this revision to Diff 1390.Aug 29 2017, 10:02 AM
This revision was automatically updated to reflect the committed changes.
martinvonz added inline comments.
mercurial/revsetlang.py
285

Fixing the two misspelled ancesotrs here in flight