( )⚙ D11559 phase: avoid a no-op resolution of revset from revnums

This is an archive of the discontinued Mercurial Phabricator instance.

phase: avoid a no-op resolution of revset from revnums
ClosedPublic

Authored by martinvonz on Oct 1 2021, 3:51 PM.

Details

Summary

I was surprised that scmutil.revrange() supports integers in the
list of revsets. I think it's clearer to not pass a list that's known
to contain only integers into the function.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage