Debian Codegraph @

relnotes/4.4

raw
1 # Mercurial 4.4 (2017-11-01)
2
3
4 ## Mercurial 4.4 release
5
6 ### Notable changes
7
8 #### Control whitespace settings for annotation on hgweb
9
10 /annotate URLs on hgweb now accept query string arguments to influence how
11 whitespace changes impact results.
12
13 The arguments "ignorews," "ignorewsamount," "ignorewseol," and
14 "ignoreblanklines" now have the same meaning as their [annotate] config
15 section counterparts. Any provided setting overrides the server default.
16
17 HTML checkboxes have been added to the paper and gitweb themes to expose
18 current whitespace settings and to easily modify the current view.
19
20 #### Fast, heuristic copy-tracing
21
22 A new fast heuristic algorithm for copytracing which assumes that the files
23 moves are either:
24
25 1. renames in the same directory
26 2. moves in other directories with same names
27
28 You can use this algorithm by setting 'experimental.copytrace=heuristics'. This
29 setting performs full copytracing if both source and destination branches
30 contains non-public changesets only.
31
32 #### Other changes
33
34 - Estimated time is more accurate with non-linear progress
35
36 - "hg status -v" can now show unfinished state. For example, when in an
37 unfinished rebase state, "hg status -v" might show:
38
39 ```shell
40 # The repository is in an unfinished *rebase* state.
41 # No unresolved merge conflicts.
42 # To continue: hg rebase --continue
43 # To abort: hg rebase --abort
44 ```
45
46 - Added '--ignore-space-at-eol' diff option to ignore whitespace differences
47 at line endings.
48
49 - show: use consistent node length in views
50
51 - show: decrease minimum displayed hash length from 5 to 4
52
53 - A new uncommit extension which provides 'hg uncommit' using which one can
54 uncommit part or all of the changeset. This command undoes the effect of a
55 local commit, returning the affected files to their uncommitted state.
56
57 - 'hg clone --uncompressed' uses clone bundles when possible
58
59 - 'hg annotate --skip' now prints a '*' on lines with skipped revisions
60
61 - New 'commands.update.check' feature to adjust constraints on when 'hg
62 update' will allow updates with a dirty working copy.
63
64 - Add an experimental -L/--line-range FILE,FROMLINE-TOLINE option to 'hg log'
65 command to follow the history of files by line range. In combination with
66 -p/--patch option, only diff hunks within specified line range will be
67 displayed. Feedback, especially on UX aspects, is welcome.
68
69 - Print warning when fsmonitor isn't being used on a large repository
70
71 ### Backwards Compatibility Changes
72
73 - The config option for copytrace 'experimental.disablecopytrace' is now
74 replaced with 'experimental.copytrace' which defaults to 'on'. If you need
75 to turn off copytracing, add '[experimental] copytrace = off' to your
76 config.
77
78 - 'hg clone --stream' should now be used instead of --uncompressed.
79
80 --uncompressed is marked as deprecated and is an alias for --stream. There
81 is no schedule for elimination of --uncompressed.
82
83 - The 'experimental.updatecheck' name for the new 'commands.update.check'
84 feature is now deprecated, and will be removed after this release.
85
86 - Mercurial subrepositories are now shared instead of cloned when the parent
87 repository is shared. This prevents dangling subrepository references in
88 the share source. Previously shared repositories with cloned
89 subrepositories will continue to function unchanged.
90
91 - Push no longer triggers a pushkey hook when updating phases. Use the new
92 'txnclose-phase' and 'txnclose-phase' hooks instead. (Applies when both
93 server and client use version 4.4 or above).
94
95 ### Bug Fixes
96
97 - Core rebase algorithm has been rewritten to be more robust (Bts:issue5578, Bts:issue5630)
98
99 - Creating a share of a repository with a Mercurial subrepository will now share the subrepository (Bts:issue5675)
100
101 ### Performance Improvements
102
103 - improved performance when many aliases are defined
104
105
106 ### API Changes
107
108 #### remove peer.batch()
109
110 Replace with peer.iterbatch().
111
112 #### Other Changes
113
114 - @peer.batchable can no longer emit local values
115
116 - @peer.batchable functions must now yield exactly 2 values
117
118 - Rename attributes on sshpeer to reflect peer API
119
120 - peer.peerrepository has been removed. Use repository.peer abstract base class to represent a peer repository.
121
122 - revset.stringset() now takes 'order' as the last argument.