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