changeset 42535:df5f674050b7

relnotes: added description about statemod._statecheck Differential Revision: https://phab.mercurial-scm.org/D6557
author Taapas Agrawal <taapas2897@gmail.com>
date Fri, 21 Jun 2019 00:26:07 +0530
parents faec09d89435
children 2dcee6497b0b
files relnotes/next
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/relnotes/next	Fri Jun 28 03:15:39 2019 +0530
+++ b/relnotes/next	Fri Jun 21 00:26:07 2019 +0530
@@ -57,3 +57,14 @@
 
  * `util.dirs()` and `util.finddirs()` now include an entry for the
    root directory (empty string).
+
+ * New API to manage unfinished operations: Earlier there were distinct APIs
+   which dealt with unfinished states and separate lists maintaining them
+   that are `cmdutil.afterresolvestates`, `cmdutil.unfinishedstates` and
+   `cmdutil.STATES`. Now these have been unified to a single
+   API which handles the various states and their utilities. This API
+   has been added to `state.py`. Now instead of adding to these 3 lists
+   independently a state for a new operation can be registered using
+   `addunfinished()` in `state` module.
+
+ * `cmdutil.checkunfinished()` now includes detection for merge too.