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.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG911e25dc9d8c: revset: drop argument when it's None
Diff Detail
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.