##// END OF EJS Templates
typing: fix return type of logcmdutil.getrevs()...
Yuya Nishihara -
r44163:f892089b default draft
parent child Browse files
Show More
@@ -45,10 +45,11 b' from .utils import ('
45 45 if pycompat.TYPE_CHECKING:
46 46 from typing import (
47 47 Any,
48 Optional,
48 49 Tuple,
49 50 )
50 51
51 for t in (Any, Tuple):
52 for t in (Any, Optional, Tuple):
52 53 assert t
53 54
54 55
@@ -853,7 +854,7 b' def _initialrevs(repo, opts):'
853 854
854 855
855 856 def getrevs(repo, pats, opts):
856 # type: (Any, Any, Any) -> Tuple[smartset.BaseSet, changesetdiffer]
857 # type: (Any, Any, Any) -> Tuple[smartset.abstractsmartset, Optional[changesetdiffer]]
857 858 """Return (revs, differ) where revs is a smartset
858 859
859 860 differ is a changesetdiffer with pre-configured file matcher.
General Comments 0
You need to be logged in to leave comments. Login now