mercurial/logcmdutil.py
changeset 43774 064c9a4ced4a
parent 43773 7b14d649af1b
child 43776 faa8a59f4a06
--- a/mercurial/logcmdutil.py	Tue Nov 19 23:49:05 2019 +0900
+++ b/mercurial/logcmdutil.py	Tue Nov 19 23:53:12 2019 +0900
@@ -45,10 +45,11 @@
 if pycompat.TYPE_CHECKING:
     from typing import (
         Any,
+        Optional,
         Tuple,
     )
 
-    for t in (Any, Tuple):
+    for t in (Any, Optional, Tuple):
         assert t
 
 
@@ -853,7 +854,7 @@
 
 
 def getrevs(repo, pats, opts):
-    # type: (Any, Any, Any) -> Tuple[smartset.BaseSet, changesetdiffer]
+    # type: (Any, Any, Any) -> Tuple[smartset.abstractsmartset, Optional[changesetdiffer]]
     """Return (revs, differ) where revs is a smartset
 
     differ is a changesetdiffer with pre-configured file matcher.