Mercurial > hg
view rust/chg/Cargo.toml @ 47478:ca8121d26732
dirstate-tree: Keep a counter of descendant nodes that have an entry
… and change the `DirstateMap::has_dir` method to be based on this counter
being non-zero instead of the mere presence of a node.
A node with zero descendent with an entry currently should be removed from
the tree, but soon we’ll make the dirstate track additional nodes.
(Specifically, for non-ignored directories in order to keep track of their
mtime and optimize status by doing fewer `read_dir` calls.)
Differential Revision: https://phab.mercurial-scm.org/D10922
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Mon, 28 Jun 2021 16:50:19 +0200 |
parents | 9fc9526e283a |
children |
line wrap: on
line source
[package] name = "chg" version = "0.1.0" authors = ["Yuya Nishihara <yuya@tcha.org>"] description = "Client for Mercurial command server with cHg extension" license = "GPL-2.0+" edition = "2018" [dependencies] async-trait = "0.1" bytes = "0.5" futures = "0.3" libc = "0.2" log = { version = "0.4", features = ["std"] } tokio-hglib = "0.3" [dependencies.tokio] version = "0.2" features = ["rt-core", "io-util", "time", "process", "macros"] [build-dependencies] cc = "1.0"