logcmdutil: let getlinerangerevs() return "revs" as a smartset
This makes it consistent in "hg log" command where 'revs' can come from
logcmdutil.getrevs() as a smartset or from getlinerangerevs(),
previously as a list. This will help type hinting as noticed in
https://phab.mercurial-scm.org/D7377.
--- a/mercurial/logcmdutil.py Wed Nov 13 17:06:05 2019 +0100
+++ b/mercurial/logcmdutil.py Thu Nov 14 11:11:38 2019 +0100
@@ -968,7 +968,7 @@
differ = changesetdiffer()
differ._makefilematcher = filematcher
differ._makehunksfilter = hunksfilter
- return revs, differ
+ return smartset.baseset(revs), differ
def _graphnodeformatter(ui, displayer):