getrevs function already returns an empty frozenset when there is no obsstore,
but let's make sure to return a frozenset in any case. This makes it possible
to use the result of this function as a dict key or provide it to hash()
built-in function without any conversions.
Details
Details
- Reviewers
Alphare - Group Reviewers
hg-reviewers - Commits
- rHG27fe84a8dd60: obsolete: always return frozensets from obsolete.getrevs()
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.