##// END OF EJS Templates
revset: handle wdir() in `sort(..., -topo)`...
revset: handle wdir() in `sort(..., -topo)` The last apparent usage of `repo.changelog.parentrevs` in revsets is in `children()`, but since the sets being operated on never include wdir(), it's never called with `wdirrev` and the wdir() arg on the command line is effectively ignored instead of aborting there. I'm not sure how to fix that. Before (on a clone of hg): $ python3.8 hg perf::revset --config extensions.perf=contrib/perf.py 'sort(all(), -topo)' ! wall 0.123663 comb 0.130000 user 0.130000 sys 0.000000 (best of 76) After: $ python3.8 hg perf::revset --config extensions.perf=contrib/perf.py 'sort(all(), -topo)' ! wall 0.123838 comb 0.130000 user 0.130000 sys 0.000000 (best of 75)

File last commit:

r50312:1bad05cf stable
r50406:117dcc4a default
Show More
Cargo.toml
48 lines | 1.1 KiB | text/plain | TOMLLexer
Georges Racinet
rust: pure Rust lazyancestors iterator...
r40307 [package]
name = "hg-core"
version = "0.1.0"
authors = ["Georges Racinet <gracinet@anybox.fr>"]
description = "Mercurial pure Rust core library, with no assumption on Python bindings (FFI)"
Raphaël Gomès
rust: switch hg-core and hg-cpython to rust 2018 edition...
r42828 edition = "2018"
Georges Racinet
rust: pure Rust lazyancestors iterator...
r40307
[lib]
name = "hg"
Georges Racinet
rust: translated random test of missingancestors...
r41841
Raphaël Gomès
rust-dirstate: add rust implementation of `parse_dirstate` and `pack_dirstate`...
r42488 [dependencies]
Raphaël Gomès
rust-hg-core: upgrade dependencies...
r49808 bitflags = "1.3.2"
bytes-cast = "0.2.0"
byteorder = "1.4.3"
derive_more = "0.99.17"
hashbrown = { version = "0.9.1", features = ["rayon"] }
home = "0.5.3"
Mads Kiilerich
rust: relax im-rc dependency to allow minor updates...
r50140 im-rc = "15.0"
Raphaël Gomès
rust-hg-core: upgrade dependencies...
r49808 itertools = "0.10.3"
Raphaël Gomès
rust: update all dependencies...
r45090 lazy_static = "1.4.0"
Simon Sapin
dirstate-v2: Replace the 32-bit `mode` field with two bits...
r49009 libc = "0.2"
Raphaël Gomès
rust: fix unsound `OwningDirstateMap`...
r49864 ouroboros = "0.15.0"
Martin von Zweigbergk
rust: upgrade `rand*` crates...
r49403 rand = "0.8.4"
rand_pcg = "0.3.1"
Raphaël Gomès
rust-hg-core: upgrade dependencies...
r49808 rand_distr = "0.4.3"
rayon = "1.5.1"
regex = "1.5.5"
sha-1 = "0.10.0"
twox-hash = "1.6.2"
Raphaël Gomès
rust-utils: add util for canonical path...
r44783 same-file = "1.0.6"
Simon Sapin
dirstate-v2: Skip readdir in status based on directory mtime...
r48138 tempfile = "3.1.0"
Mads Kiilerich
rust: bump to memmap2 0.5.3, micro-timer 0.4.0, and crossbeam-channel 0.5.0...
r50312 crossbeam-channel = "0.5.0"
micro-timer = "0.4.0"
Raphaël Gomès
rust: add logging utils...
r45027 log = "0.4.8"
Mads Kiilerich
rust: bump to memmap2 0.5.3, micro-timer 0.4.0, and crossbeam-channel 0.5.0...
r50312 memmap2 = { version = "0.5.3", features = ["stable_deref_trait"] }
Antoine Cezar
hg-core: Add a limited read only `revlog` implementation...
r46097 zstd = "0.5.3"
Simon Sapin
rust: Upgrade to format-bytes 0.3...
r49323 format-bytes = "0.3.0"
Antoine Cezar
hg-core: Add a limited read only `revlog` implementation...
r46097
Raphaël Gomès
rust: update minimum supported Rust compiler version...
r46189 # We don't use the `miniz-oxide` backend to not change rhg benchmarks and until
# we have a clearer view of which backend is the fastest.
Antoine Cezar
hg-core: Add a limited read only `revlog` implementation...
r46097 [dependencies.flate2]
Raphaël Gomès
rust-hg-core: upgrade dependencies...
r49808 version = "1.0.22"
Antoine Cezar
hg-core: Add a limited read only `revlog` implementation...
r46097 features = ["zlib"]
default-features = false
Raphaël Gomès
rust-pathauditor: add Rust implementation of the `pathauditor`...
r44737
[dev-dependencies]
Raphaël Gomès
rust-hg-core: upgrade dependencies...
r49808 clap = "2.34.0"
pretty_assertions = "1.1.0"