This is an archive of the discontinued Mercurial Phabricator instance.

revsets: define a none() revset
ClosedPublic

Authored by martinvonz on Jun 11 2018, 2:37 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Commits
rHGf1d55ae2c5c8: revsets: define a none() revset
Summary

This can be useful for default values in corp-wide configuration
(e.g. for commits to hide, which defaults to none()), and perhaps in
scripts. I named it none() rather than empty() to match all().

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

martinvonz created this revision.Jun 11 2018, 2:37 PM
This revision was automatically updated to reflect the committed changes.