Show More
@@ -1,45 +1,47 b'' | |||||
1 | == New Features == |
|
1 | == New Features == | |
2 |
|
2 | |||
3 | * clonebundles can be annotated with the expected memory requirements |
|
3 | * clonebundles can be annotated with the expected memory requirements | |
4 | using the `REQUIREDRAM` option. This allows clients to skip |
|
4 | using the `REQUIREDRAM` option. This allows clients to skip | |
5 | bundles created with large zstd windows and fallback to larger, but |
|
5 | bundles created with large zstd windows and fallback to larger, but | |
6 | less demanding bundles. |
|
6 | less demanding bundles. | |
7 |
|
7 | |||
8 | * The `phabricator` extension now provides more functionality of the |
|
8 | * The `phabricator` extension now provides more functionality of the | |
9 | arcanist CLI like changing the status of a differential. |
|
9 | arcanist CLI like changing the status of a differential. | |
10 |
|
10 | |||
11 | * Phases processing is much faster, especially for repositories with |
|
11 | * Phases processing is much faster, especially for repositories with | |
12 | old non-public changesets. |
|
12 | old non-public changesets. | |
13 |
|
13 | |||
|
14 | ||||
14 | == New Experimental Features == |
|
15 | == New Experimental Features == | |
15 |
|
16 | |||
16 | * The core of some hg operations have been (and are being) |
|
17 | * The core of some hg operations have been (and are being) | |
17 | implemented in rust, for speed. `hg status` on a repository with |
|
18 | implemented in rust, for speed. `hg status` on a repository with | |
18 | 300k tracked files goes from 1.8s to 0.6s for instance. |
|
19 | 300k tracked files goes from 1.8s to 0.6s for instance. | |
19 | This has currently been tested only on linux, and does not build on |
|
20 | This has currently been tested only on linux, and does not build on | |
20 | windows. See rust/README.rst in the mercurial repository for |
|
21 | windows. See rust/README.rst in the mercurial repository for | |
21 | instructions to opt into this. |
|
22 | instructions to opt into this. | |
22 |
|
23 | |||
|
24 | ||||
23 | == Backwards Compatibility Changes == |
|
25 | == Backwards Compatibility Changes == | |
24 |
|
26 | |||
25 | * Mercurial now requires at least Python 2.7.9 or a Python version that |
|
27 | * Mercurial now requires at least Python 2.7.9 or a Python version that | |
26 | backported modern SSL/TLS features (as defined in PEP 466), and that Python |
|
28 | backported modern SSL/TLS features (as defined in PEP 466), and that Python | |
27 | was compiled against a OpenSSL version supporting TLS 1.1 or TLS 1.2 |
|
29 | was compiled against a OpenSSL version supporting TLS 1.1 or TLS 1.2 | |
28 | (likely this requires the OpenSSL version to be at least 1.0.1). |
|
30 | (likely this requires the OpenSSL version to be at least 1.0.1). | |
29 |
|
31 | |||
30 | * The `hg perfwrite` command from contrib/perf.py was made more flexible and |
|
32 | * The `hg perfwrite` command from contrib/perf.py was made more flexible and | |
31 | changed its default behavior. To get the previous behavior, run `hg perfwrite |
|
33 | changed its default behavior. To get the previous behavior, run `hg perfwrite | |
32 | --nlines=100000 --nitems=1 --item='Testing write performance' --batch-line`. |
|
34 | --nlines=100000 --nitems=1 --item='Testing write performance' --batch-line`. | |
33 |
|
35 | |||
34 |
|
36 | |||
35 | == Internal API Changes == |
|
37 | == Internal API Changes == | |
36 |
|
38 | |||
37 | * logcmdutil.diffordiffstat() now takes contexts instead of nodes. |
|
39 | * logcmdutil.diffordiffstat() now takes contexts instead of nodes. | |
38 |
|
40 | |||
39 | * The `mergestate` class along with some related methods and constants have |
|
41 | * The `mergestate` class along with some related methods and constants have | |
40 | moved from `mercurial.merge` to a new `mercurial.mergestate` module. |
|
42 | moved from `mercurial.merge` to a new `mercurial.mergestate` module. | |
41 |
|
43 | |||
42 | * The `phasecache` class now uses sparse dictionaries for the phase data. |
|
44 | * The `phasecache` class now uses sparse dictionaries for the phase data. | |
43 | New accessors are provided to detect if any non-public changeset exists |
|
45 | New accessors are provided to detect if any non-public changeset exists | |
44 | (`hasnonpublicphases`) and get the correponsponding root set |
|
46 | (`hasnonpublicphases`) and get the correponsponding root set | |
45 | (`nonpublicphaseroots`). |
|
47 | (`nonpublicphaseroots`). |
General Comments 0
You need to be logged in to leave comments.
Login now