##// END OF EJS Templates
relnotes: document the new --force-close-branch flag...
Sushil khanchi -
r42755:4cafbd3b default
parent child Browse files
Show More
@@ -1,72 +1,75 b''
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 * New `--force-close-branch` flag for `hg commit` to forcibly close
10 branch from a non-head changeset.
11
9 12
10 13 == New Experimental Features ==
11 14
12 15 * New config `experimental.log.topo` makes `hg log -G` use
13 16 topological sorting. This is especially useful for aliases since it
14 17 lets the alias accept an `-r` option while still using topological
15 18 sorting with or without the `-r` (unlike if you use the `sort(...,
16 19 topo)` revset).
17 20
18 21
19 22 == Bug Fixes ==
20 23
21 24 * issue4292: "hg log and {files} {file_adds} {file_mods} {file_dels}
22 25 in template show wrong files on merged revision". See details in
23 26 "Backwards Compatibility Changes".
24 27
25 28
26 29 == Backwards Compatibility Changes ==
27 30
28 31 * Removed (experimental) support for log graph lines mixing
29 32 parent/grandparent styles. Setting
30 33 e.g. `experimental.graphstyle.parent = !` and
31 34 `experimental.graphstyle.grandparent = 3.` would use `!` for the
32 35 first three lines of the graph and then `.`. This is no longer
33 36 supported.
34 37
35 38 * If `ui.origbackuppath` had been (incorrectly) configured to point
36 39 to a file, we will now replace that file by a directory and put
37 40 backups in that directory. This is similar to how we would
38 41 previously replace files *in* the configured directory by
39 42 subdirectories.
40 43
41 44 * Template keyword `{file_mods}`, `{file_adds}`, and `{file_dels}`
42 45 have changed behavior on merge commits. They used to be relative to
43 46 the first parent, but they now consider both parents. `{file_adds}`
44 47 shows files that exists in the commit but did not exist in either
45 48 parent. `{file_dels}` shows files that do not exist in the commit
46 49 but existed in either parent. `{file_mods}` show the remaining
47 50 files from `{files}` that were not in the other two
48 51 sets.
49 52
50 53
51 54 == Internal API Changes ==
52 55
53 56 * Matchers are no longer iterable. Use `match.files()` instead.
54 57
55 58 * `match.visitdir()` and `match.visitchildrenset()` now expect the
56 59 empty string instead of '.' to indicate the root directory.
57 60
58 61 * `util.dirs()` and `util.finddirs()` now include an entry for the
59 62 root directory (empty string).
60 63
61 64 * shelve is no longer an extension now. it will be turned on by default.
62 65
63 66 * New API to manage unfinished operations: Earlier there were distinct APIs
64 67 which dealt with unfinished states and separate lists maintaining them
65 68 that are `cmdutil.afterresolvestates`, `cmdutil.unfinishedstates` and
66 69 `cmdutil.STATES`. Now these have been unified to a single
67 70 API which handles the various states and their utilities. This API
68 71 has been added to `state.py`. Now instead of adding to these 3 lists
69 72 independently a state for a new operation can be registered using
70 73 `addunfinished()` in `state` module.
71 74
72 75 * `cmdutil.checkunfinished()` now includes detection for merge too.
General Comments 0
You need to be logged in to leave comments. Login now