relnotes/6.0
changeset 48301 9327ece2bc6f
child 48310 229f5ee1a08a
equal deleted inserted replaced
48299:1a420a13eeea 48301:9327ece2bc6f
       
     1 == New Features ==
       
     2   * `debugrebuildfncache` now has an option to rebuild only the index files
       
     3   * a new `bookmarks.mode` path option have been introduced to control the
       
     4     bookmark update strategy during exchange with a peer. See `hg help paths` for
       
     5     details.
       
     6   * a new `bookmarks.mirror` option has been introduced. See `hg help bookmarks`
       
     7    for details.
       
     8   * more commands support detailed exit codes when config `ui.detailed-exit-codes` is enabled 
       
     9 
       
    10 == Default Format Change ==
       
    11 
       
    12 == New Experimental Features ==
       
    13 
       
    14  * '''Major feature''': version 2 of the dirstate is available (the first version is as old as Mercurial itself). It allows for much faster working copy inspection (status, diff, commit, update, etc.) and richer information (symlink and exec info on Windows, etc.). The format has been frozen with room for some future evolution and the current implementations (Python, Python + C, Python + Rust or pure Rust) should be compatible with any future change or optimization that the format allows. You can get more information [[https://www.mercurial-scm.org/repo/hg/file/tip/mercurial/helptext/internals/dirstate-v2.txt | in the internal documentation]]
       
    15  * Added a new `web.full-garbage-collection-rate` to control performance. See
       
    16    de2e04fe4897a554b9ef433167f11ea4feb2e09c for more information
       
    17  * Added a new `histedit.later-commits-first` option to affect the ordering of commits in `chistedit` to match the order in `hg log -G`. It will affect the text-based version before graduating from experimental.
       
    18 
       
    19 == Bug Fixes ==
       
    20 
       
    21  * `hg fix --working-dir` now correctly works when in an uncommitted merge state
       
    22  * Unintentional duplicated calls to `hg fix`'s internals were removed, making it potentially much faster
       
    23  * `rhg cat` can be called without a revision
       
    24  * `rhg cat` can be called with the `.` revision
       
    25  * `rhg cat` is more robust than before with regards to edge cases. Some still remain like a tag or bookmark that is ambiguous with a nodeid prefix, only nodeids (prefixed or not) are supported as of now.
       
    26  * `rhg cat` is even faster
       
    27  * `rhg` (Rust fast-path for `hg`) now supports the full config list syntax
       
    28  * `rhg` now parses some corner-cases for revsets correctly
       
    29  * Lots of Windows fixes
       
    30  * Lots of miscellaneous other fixes
       
    31  * Removed a CPython-specific compatibility hack to improve support for alternative Python implementations
       
    32 
       
    33 == Backwards Compatibility Changes ==
       
    34 
       
    35 
       
    36 == Internal API Changes ==
       
    37 
       
    38 The following functions have been removed:
       
    39 
       
    40   * `dirstate.normal`
       
    41   * `dirstate.normallookup`
       
    42   * `dirstate.otherparent`
       
    43   * `dirstate.add`
       
    44   * `dirstate.addfile`
       
    45   * `dirstate.remove`
       
    46   * `dirstate.drop`
       
    47   * `dirstate.dropfile`
       
    48   * `dirstate.__getitem__`
       
    49   * `dirstatemap.nonnormalentries`
       
    50   * `dirstatemap.nonnormalset`
       
    51   * `dirstatemap.otherparentset`
       
    52   * `dirstatemap.non_normal_or_other_parent_paths`
       
    53   * `dirstateitem.dm_nonnormal`
       
    54   * `dirstateitem.dm_otherparent`
       
    55   * `dirstateitem.merged_removed`
       
    56   * `dirstateitem.from_p2`
       
    57   * `dirstateitem.merged`
       
    58   * `dirstateitem.new_merged`
       
    59   * `dirstateitem.new_added`
       
    60   * `dirstateitem.new_from_p2`
       
    61   * `dirstateitem.new_possibly_dirty`
       
    62   * `dirstateitem.new_normal`
       
    63   * `dirstateitem.from_p2_removed`
       
    64 
       
    65 Miscellaneous:
       
    66 
       
    67   * `wireprotov1peer`'s `batchable` is now a simple function and not a generator
       
    68    anymore
       
    69   * The Rust extensions (and by extension the experimental `rhg status`) only use a tree-based dirstate in-memory, even when using dirstate-v1. See bf8837e3d7cec40fe649c47163a3154dda03fa16 for more details
       
    70   * The Rust minimum supported version is now 1.48.0 in accordance with out policy of keeping up with Debian stable