D6558: cmdutil: updated description for bailifchanged()
taapas1128 (Taapas Agrawal)
phabricator at mercurial-scm.org
Thu Jun 20 19:11:32 UTC 2019
taapas1128 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This is added to establish a connection between `statemod.checkunfinished()`
and `bailifchanged()`.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D6558
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
@@ -787,6 +787,9 @@
ignored (such as when 'update --check' runs).
'hint' is the usual hint given to Abort exception.
+
+ It's probably good to check statemod.checkunfinished() right before
+ this.
"""
if merge and repo.dirstate.p2() != nullid:
To: taapas1128, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list