##// END OF EJS Templates
relnotes: added description about statemod._statecheck...
Taapas Agrawal -
r42735:df5f6740 default
parent child Browse files
Show More
@@ -1,59 +1,70
1 1 == New Features ==
2 2
3 3 * New config `commands.commit.post-status` shows status after successful
4 4 commit.
5 5
6 6 * `hg root` now has templating support, including support for showing
7 7 where a repo share's source is. See `hg help -v root` for details.
8 8
9 9
10 10 == New Experimental Features ==
11 11
12 12 * New config `experimental.log.topo` makes `hg log -G` use
13 13 topological sorting. This is especially useful for aliases since it
14 14 lets the alias accept an `-r` option while still using topological
15 15 sorting with or without the `-r` (unlike if you use the `sort(...,
16 16 topo)` revset).
17 17
18 18
19 19 == Bug Fixes ==
20 20
21 21 * issue4292: "hg log and {files} {file_adds} {file_mods} {file_dels}
22 22 in template show wrong files on merged revision". See details in
23 23 "Backwards Compatibility Changes".
24 24
25 25
26 26 == Backwards Compatibility Changes ==
27 27
28 28 * Removed (experimental) support for log graph lines mixing
29 29 parent/grandparent styles. Setting
30 30 e.g. `experimental.graphstyle.parent = !` and
31 31 `experimental.graphstyle.grandparent = 3.` would use `!` for the
32 32 first three lines of the graph and then `.`. This is no longer
33 33 supported.
34 34
35 35 * If `ui.origbackuppath` had been (incorrectly) configured to point
36 36 to a file, we will now replace that file by a directory and put
37 37 backups in that directory. This is similar to how we would
38 38 previously replace files *in* the configured directory by
39 39 subdirectories.
40 40
41 41 * Template keyword `{file_mods}`, `{file_adds}`, and `{file_dels}`
42 42 have changed behavior on merge commits. They used to be relative to
43 43 the first parent, but they now consider both parents. `{file_adds}`
44 44 shows files that exists in the commit but did not exist in either
45 45 parent. `{file_dels}` shows files that do not exist in the commit
46 46 but existed in either parent. `{file_mods}` show the remaining
47 47 files from `{files}` that were not in the other two
48 48 sets.
49 49
50 50
51 51 == Internal API Changes ==
52 52
53 53 * Matchers are no longer iterable. Use `match.files()` instead.
54 54
55 55 * `match.visitdir()` and `match.visitchildrenset()` now expect the
56 56 empty string instead of '.' to indicate the root directory.
57 57
58 58 * `util.dirs()` and `util.finddirs()` now include an entry for the
59 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.
General Comments 0
You need to be logged in to leave comments. Login now