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