HomePhabricator

revset: drop argument when it's None

Authored by av6.

Description

revset: drop argument when it's None

getstack's definition is getstack(repo, rev=None), so providing None
explicitly is unnecessary. Moreover, when x is not None, it's definitely not a
revision but a part of a parsed tree of revset arguments.

Differential Revision: https://phab.mercurial-scm.org/D6707

Details

Committed
av6Jul 18 2019, 5:10 AM
Differential Revision
D6707: revset: drop argument when it's None
Parents
rHG77c52ce50e6a: stack: remove unnecessary reverse() predicate
Branches
Unknown
Tags
Unknown