Patchwork D6557: relnotes: added description about statemod._statecheck

login
register
mail settings
Submitter phabricator
Date June 27, 2019, 10:08 p.m.
Message ID <1df76d045d598c93ccd0e1c227666bb1@localhost.localdomain>
Download mbox | patch
Permalink /patch/40708/
State Not Applicable
Headers show

Comments

phabricator - June 27, 2019, 10:08 p.m.
Closed by commit rHGdf5f674050b7: relnotes: added description about statemod._statecheck (authored by taapas1128).
This revision was automatically updated to reflect the committed changes.

CHANGED PRIOR TO COMMIT
  https://phab.mercurial-scm.org/D6557?vs=15690&id=15691#toc

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6557?vs=15690&id=15691

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6557/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D6557

AFFECTED FILES
  relnotes/next

CHANGE DETAILS




To: taapas1128, #hg-reviewers, martinvonz
Cc: martinvonz, mercurial-devel

Patch

diff --git a/relnotes/next b/relnotes/next
--- a/relnotes/next
+++ b/relnotes/next
@@ -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.