Show More
@@ -42,6 +42,16 b' from .utils import (' | |||
|
42 | 42 | ) |
|
43 | 43 | |
|
44 | 44 | |
|
45 | if not globals(): | |
|
46 | from typing import ( | |
|
47 | Any, | |
|
48 | Tuple, | |
|
49 | ) | |
|
50 | ||
|
51 | for t in (Any, Tuple): | |
|
52 | assert t | |
|
53 | ||
|
54 | ||
|
45 | 55 | def getlimit(opts): |
|
46 | 56 | """get the log limit according to option -l/--limit""" |
|
47 | 57 | limit = opts.get(b'limit') |
@@ -843,6 +853,7 b' def _initialrevs(repo, opts):' | |||
|
843 | 853 | |
|
844 | 854 | |
|
845 | 855 | def getrevs(repo, pats, opts): |
|
856 | # type: (Any, Any, Any) -> Tuple[smartset.BaseSet, changesetdiffer] | |
|
846 | 857 | """Return (revs, differ) where revs is a smartset |
|
847 | 858 | |
|
848 | 859 | differ is a changesetdiffer with pre-configured file matcher. |
General Comments 0
You need to be logged in to leave comments.
Login now