comparison relnotes/next @ 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 089f14dd7df3
children 3de4f17f4824
comparison
equal deleted inserted replaced
42534:faec09d89435 42535:df5f674050b7
55 * `match.visitdir()` and `match.visitchildrenset()` now expect the 55 * `match.visitdir()` and `match.visitchildrenset()` now expect the
56 empty string instead of '.' to indicate the root directory. 56 empty string instead of '.' to indicate the root directory.
57 57
58 * `util.dirs()` and `util.finddirs()` now include an entry for the 58 * `util.dirs()` and `util.finddirs()` now include an entry for the
59 root directory (empty string). 59 root directory (empty string).
60
61 * New API to manage unfinished operations: Earlier there were distinct APIs
62 which dealt with unfinished states and separate lists maintaining them
63 that are `cmdutil.afterresolvestates`, `cmdutil.unfinishedstates` and
64 `cmdutil.STATES`. Now these have been unified to a single
65 API which handles the various states and their utilities. This API
66 has been added to `state.py`. Now instead of adding to these 3 lists
67 independently a state for a new operation can be registered using
68 `addunfinished()` in `state` module.
69
70 * `cmdutil.checkunfinished()` now includes detection for merge too.