D6606: statecheck: updated docstrings related to afterresolvedstates
taapas1128 (Taapas Agrawal)
phabricator at mercurial-scm.org
Thu Jul 4 18:50:30 UTC 2019
taapas1128 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D6606
AFFECTED FILES
mercurial/cmdutil.py
CHANGE DETAILS
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -3300,8 +3300,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.
@@ -3319,8 +3320,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.
'''
To: taapas1128, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list