Skip to content
Snippets Groups Projects
Commit ceb31d96 authored by Taapas Agrawal's avatar Taapas Agrawal
Browse files

statecheck: updated docstrings related to afterresolvedstates

Differential Revision: https://phab.mercurial-scm.org/D6606
parent ea6558db
No related branches found
No related tags found
No related merge requests found
......@@ -3301,8 +3301,9 @@
'''Check for an unfinished operation and return the command to finish
it.
afterresolvedstates tuples define a .hg/{file} and the corresponding
command needed to finish it.
statemod._unfinishedstates list is checked for an unfinished operation
and the corresponding message to finish it is generated if a method to
continue is supported by the operation.
Returns a (msg, warning) tuple. 'msg' is a string and 'warning' is
a boolean.
......@@ -3320,8 +3321,8 @@
def checkafterresolved(repo):
'''Inform the user about the next action after completing hg resolve
If there's a matching afterresolvedstates, howtocontinue will yield
repo.ui.warn as the reporter.
If there's a an unfinished operation that supports continue flag,
howtocontinue will yield repo.ui.warn as the reporter.
Otherwise, it will yield repo.ui.note.
'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment