Opened 3 years ago

Closed 3 years ago

#15780 closed enhancement (fixed)

mercurial-6.0

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 11.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New major version.

Change History (3)

comment:1 by Bruce Dubbs, 3 years ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:2 by Bruce Dubbs, 3 years ago

New Features

  • debugrebuildfncache now has an option to rebuild only the index files
  • a new bookmarks.mode path option have been introduced to control the bookmark update strategy during exchange with a peer. See hg help paths for details.
  • a new bookmarks.mirror option has been introduced. See hg help bookmarks for details.
  • more commands support detailed exit codes when config ui.detailed-exit-codes is enabled

Default Format Change

New Experimental Features

  • 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.
  • Added a new web.full-garbage-collection-rate to control performance.
  • 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.

Bug Fixes

  • hg fix --working-dir now correctly works when in an uncommitted merge state
  • Unintentional duplicated calls to hg fix's internals were removed, making it potentially much faster
  • rhg cat can be called without a revision
  • rhg cat can be called with the . revision
  • 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.
  • rhg cat is even faster
  • rhg (Rust fast-path for hg) now supports the full config list syntax
  • rhg now parses some corner-cases for revsets correctly
  • Fixed an fsmonitor on Python 3 during exception handling
  • Lots of Windows fixes
  • Lots of miscellaneous other fixes
  • Removed a CPython-specific compatibility hack to improve support for alternative Python implementations

Internal API Changes

The following functions have been removed:

  • dirstate.normal
  • dirstate.normallookup
  • dirstate.otherparent
  • dirstate.add
  • dirstate.addfile
  • dirstate.remove
  • dirstate.drop
  • dirstate.dropfile
  • dirstate.__getitem__
  • dirstatemap.nonnormalentries
  • dirstatemap.nonnormalset
  • dirstatemap.otherparentset
  • dirstatemap.non_normal_or_other_parent_paths
  • dirstateitem.dm_nonnormal
  • dirstateitem.dm_otherparent
  • dirstateitem.merged_removed
  • dirstateitem.from_p2
  • dirstateitem.merged
  • dirstateitem.new_merged
  • dirstateitem.new_added
  • dirstateitem.new_from_p2
  • dirstateitem.new_possibly_dirty
  • dirstateitem.new_normal
  • dirstateitem.from_p2_removed

Miscellaneous:

  • wireprotov1peer's batchable is now a simple function and not a generator anymore
  • The Rust extensions (and by extension the experimental rhg status) only use a tree-based dirstate in-memory, even when using dirstate-v1.
  • The Rust minimum supported version is now 1.48.0 in accordance with our policy of keeping up with Debian stable
  • The test harness plays nicer with the NixOS sandbox

comment:3 by Bruce Dubbs, 3 years ago

Resolution: fixed
Status: assignedclosed

Fixed at commit c86d663425d0376bd0ff95fb4cb67a68dc85b76d

Package updates.
    Update to git-2.34.1.
    Update to ruby-3.0.3.
    Update to libsoup-2.74.2.
    Update to mercurial-6.0.
Note: See TracTickets for help on using tickets.