annotate relnotes/next @ 48014:0dc4cc654d96

typing: drop annotations on `mercurial/logcmdutil.walkopts` attributes Pytype 2021-09-09 must have learned some things about `@attr`, because while these were presumably required to help it before (c1d0f83d62c4::9a26fea2b518 and c11099cc1de4::224c786f4fce), these instances now get flagged as an assignment mismatch: File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 717, in walkopts: Type annotation for pats does not match type of assignment [annotation-type-mismatch] Annotation: List[bytes] Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 718, in walkopts: Type annotation for opts does not match type of assignment [annotation-type-mismatch] Annotation: Dict[bytes, Any] Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 722, in walkopts: Type annotation for revspec does not match type of assignment [annotation-type-mismatch] Annotation: List[bytes] Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 725, in walkopts: Type annotation for bookmarks does not match type of assignment [annotation-type-mismatch] Annotation: List[bytes] Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 726, in walkopts: Type annotation for branches does not match type of assignment [annotation-type-mismatch] Annotation: List[bytes] Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 727, in walkopts: Type annotation for date does not match type of assignment [annotation-type-mismatch] Annotation: Optional[bytes] Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 728, in walkopts: Type annotation for keywords does not match type of assignment [annotation-type-mismatch] Annotation: List[bytes] Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 729, in walkopts: Type annotation for no_merges does not match type of assignment [annotation-type-mismatch] Annotation: bool Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 730, in walkopts: Type annotation for only_merges does not match type of assignment [annotation-type-mismatch] Annotation: bool Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 731, in walkopts: Type annotation for prune_ancestors does not match type of assignment [annotation-type-mismatch] Annotation: List[bytes] Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 732, in walkopts: Type annotation for users does not match type of assignment [annotation-type-mismatch] Annotation: List[bytes] Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 735, in walkopts: Type annotation for include_pats does not match type of assignment [annotation-type-mismatch] Annotation: List[bytes] Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 736, in walkopts: Type annotation for exclude_pats does not match type of assignment [annotation-type-mismatch] Annotation: List[bytes] Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 739, in walkopts: Type annotation for follow does not match type of assignment [annotation-type-mismatch] Annotation: int Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 743, in walkopts: Type annotation for force_changelog_traversal does not match type of assignment [annotation-type-mismatch] Annotation: bool Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 747, in walkopts: Type annotation for filter_revisions_by_pats does not match type of assignment [annotation-type-mismatch] Annotation: bool Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 750, in walkopts: Type annotation for sort_revisions does not match type of assignment [annotation-type-mismatch] Annotation: Optional[bytes] Assignment: mercurial.thirdparty.attr._make._CountingAttr File "/mnt/c/Users/Matt/hg/mercurial/logcmdutil.py", line 753, in walkopts: Type annotation for limit does not match type of assignment [annotation-type-mismatch] Annotation: Optional[int] Assignment: mercurial.thirdparty.attr._make._CountingAttr Differential Revision: https://phab.mercurial-scm.org/D11474
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 20 Sep 2021 11:22:27 -0400
parents bad66df931b5
children ff2304dd3ba9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
42271
0ed293a3f00e releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff changeset
1 == New Features ==
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
2 * `debugrebuildfncache` now has an option to rebuild only the index files
47071
3e381eb557f3 config: add --source option to include source of value
Martin von Zweigbergk <martinvonz@google.com>
parents: 47014
diff changeset
3
46254
c4b792fa109e branchmap: avoid ancestor computations in absence of non-continous branches
Joerg Sonnenberger <joerg@bec.de>
parents: 46237
diff changeset
4
46999
035c06f9fddf relnode: document the move to `zstd` as default compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46998
diff changeset
5 == Default Format Change ==
035c06f9fddf relnode: document the move to `zstd` as default compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46998
diff changeset
6
035c06f9fddf relnode: document the move to `zstd` as default compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46998
diff changeset
7 These changes affects newly created repositories (or new clone) done with
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
8 Mercurial 6.0.
46999
035c06f9fddf relnode: document the move to `zstd` as default compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46998
diff changeset
9
47000
c3eee5ad1de9 relnote: document the use of persistent-nodemap by default for Rust build
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46999
diff changeset
10
44367
9dab3fa64325 copy: add experimental support for marking committed copies
Martin von Zweigbergk <martinvonz@google.com>
parents: 44365
diff changeset
11 == New Experimental Features ==
44343
8561ad49915d revset: add a revset for parents in merge state
Martin von Zweigbergk <martinvonz@google.com>
parents: 44289
diff changeset
12
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
13 * Added a new `web.full-garbage-collection-rate` to control performance. See
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
14 de2e04fe4897a554b9ef433167f11ea4feb2e09c for more information
45191
fc54f52779dd relnotes: add release notes for relevant changes I did since the 5.4 release
Manuel Jacob <me@manueljacob.de>
parents: 45190
diff changeset
15
fc54f52779dd relnotes: add release notes for relevant changes I did since the 5.4 release
Manuel Jacob <me@manueljacob.de>
parents: 45190
diff changeset
16 == Bug Fixes ==
fc54f52779dd relnotes: add release notes for relevant changes I did since the 5.4 release
Manuel Jacob <me@manueljacob.de>
parents: 45190
diff changeset
17
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
18 * `hg fix --working-dir` now correctly works when in an uncommitted merge state
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
19 * `rhg` (Rust fast-path for `hg`) now supports the full config list syntax
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
20 * `rhg` now parses some corner-cases for revsets correctly
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
21 * Lots of Windows fixes
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
22 * Lots of miscellaneous other fixes
45189
045f5361bd12 relnotes: make spacing before new section consistent
Manuel Jacob <me@manueljacob.de>
parents: 45169
diff changeset
23
42271
0ed293a3f00e releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff changeset
24 == Backwards Compatibility Changes ==
0ed293a3f00e releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff changeset
25
44396
acbfa31cfaf2 debugmergestate: make templated
Martin von Zweigbergk <martinvonz@google.com>
parents: 44392
diff changeset
26
42271
0ed293a3f00e releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff changeset
27 == Internal API Changes ==
0ed293a3f00e releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff changeset
28
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
29 The following functions have been removed:
47758
ec77f709495c relnotes: document the change in the dirstate API
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 47071
diff changeset
30
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
31 * `dirstate.normal`
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
32 * `dirstate.normallookup`
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
33 * `dirstate.otherparent`
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
34 * `dirstate.add`
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
35 * `dirstate.remove`
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
36 * `dirstate.drop`
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
37 * `dirstate.__getitem__`
47758
ec77f709495c relnotes: document the change in the dirstate API
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 47071
diff changeset
38
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
39 Miscellaneous:
47758
ec77f709495c relnotes: document the change in the dirstate API
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 47071
diff changeset
40
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
41 * `wireprotov1peer`'s `batchable` is now a simple function and not a generator
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
42 anymore