Mercurial > hg
changeset 42577:ceb31d96d3ae
statecheck: updated docstrings related to afterresolvedstates
Differential Revision: https://phab.mercurial-scm.org/D6606
author | Taapas Agrawal <taapas2897@gmail.com> |
---|---|
date | Fri, 05 Jul 2019 00:17:26 +0530 |
parents | ea6558db1011 |
children | 9f73620a65fe |
files | mercurial/cmdutil.py |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Mon Jul 08 14:01:01 2019 -0400 +++ b/mercurial/cmdutil.py Fri Jul 05 00:17:26 2019 +0530 @@ -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. '''