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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.