Show More
@@ -61,6 +61,15 from .utils import ( | |||
|
61 | 61 | stringutil, |
|
62 | 62 | ) |
|
63 | 63 | |
|
64 | if not globals(): | |
|
65 | from typing import ( | |
|
66 | Any, | |
|
67 | Dict, | |
|
68 | ) | |
|
69 | ||
|
70 | for t in (Any, Dict): | |
|
71 | assert t | |
|
72 | ||
|
64 | 73 | stringio = util.stringio |
|
65 | 74 | |
|
66 | 75 | # templates of common command options |
@@ -3959,6 +3968,7 def abortgraft(ui, repo, graftstate): | |||
|
3959 | 3968 | |
|
3960 | 3969 | |
|
3961 | 3970 | def readgraftstate(repo, graftstate): |
|
3971 | # type: (Any, statemod.cmdstate) -> Dict[bytes, Any] | |
|
3962 | 3972 | """read the graft state file and return a dict of the data stored in it""" |
|
3963 | 3973 | try: |
|
3964 | 3974 | return graftstate.read() |
General Comments 0
You need to be logged in to leave comments.
Login now