Opened 5 months ago

Closed 5 months ago

#18899 closed enhancement (fixed)

mercurial-6.6

Reported by: Bruce Dubbs Owned by: Douglas R. Reno
Priority: normal Milestone: 12.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (4)

comment:1 by Douglas R. Reno, 5 months ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by Douglas R. Reno, 5 months ago

The rust tests are unfortunately still broken. It did get a lot farther than last time though, but still fails:

    Checking toml v0.6.0
    Checking hg-core v0.1.0 (/sources/mercurial-6.6/rust/hg-core)
error: unnecessarily eager cloning of iterator items
   --> hg-core/src/matchers.rs:598:17
    |
598 |                 m1_files.iter().cloned().filter(|f| m2.matches(f)).collect()
    |                 ^^^^^^^^^^^^^^^-----------------------------------
    |                                |
    |                                help: try: `.filter(|&f| m2.matches(f)).cloned()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master
/index.html#iter_overeager_cloned
    = note: `-D clippy::iter-overeager-cloned` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::iter_overeager_cloned)]`

error: unnecessarily eager cloning of iterator items
   --> hg-core/src/matchers.rs:691:17
    |
691 |                 files.iter().cloned().filter(|f| new.matches(f)).collect()
    |                 ^^^^^^^^^^^^------------------------------------
    |                             |
    |                             help: try: `.filter(|&f| new.matches(f)).cloned()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master
/index.html#iter_overeager_cloned

error: could not compile `hg-core` (lib) due to 2 previous errors
make[1]: *** [Makefile:160: cargo-clippy] Error 101

comment:3 by Douglas R. Reno, 5 months ago

Mercurial 6.6

As usual, a *lot* of patches don't make it to this list.

New Features

    rust-config: add support for default config items
    rhg: add config defaults to configitems.toml
    rhg: support "status FILE"
    rhg: support rhg files [FILE]
    commands: add admin namespace
    admin-command: add verify command
    debug-delta-chain: add options to control what we compute
    Added some caching for uncompressed revlog chunks that speed up some operations 

New Experimental Features

Bug Fixes

    Improve OpenVMS support
    byteify-strings: passe sysstr to attr function and wrapper
    journal: track bookmark deletion
    transaction: actually delete file created during the transaction on rollback
    pull: avoid referencing a variable before it is initialized

    rust-filepatterns: also normalize RelPath
    narrow: hoist a variable to a higher level to avoid use-before-init warning
    convert: stabilize subversion date sorter
    run-tests: detect HGWITHRUSTEXT value
    censor: accept censored revision during upgrade

    rust-matchers: fix quadratic complexity in FileMatcher
    unstable: do not consider internal phases when computing unstable

    Still a whole bunch of Python 2 -> 3 migration leftovers 

Backwards Compatibility Changes

    perf: display all timing by default
    infinitepush: drop the extension
    debug-delta-chain: print less data by default 

Internal API Changes

    The revlog interface has been significantly cleaned up.

    configitems: add documentation field
    configitems: declare items in a TOML file
    configitems: move blackbox's config items to the new configitems.toml
    path-suboption: deprecated specifying the attributes as bytes
    pycompat: deprecate using bytes

    check-code: drop the safehasattr rule
    safehasattr: drop usage in favor of hasattr

    rust: add UncheckedRevision type

    rust: implement the Graph trait for all revlogs

    rust: make Revision a newtype
    perf: change the way we approach revlog reading

    perf: ensure all readlog's reading is done within a reading context
    delta-chain: move the debugdeltachain command in revlogutils 

comment:4 by Douglas R. Reno, 5 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.