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