Mercurial > hg
view rust/hgcli/Cargo.toml @ 39502:e4d4361d0bcd
snapshot: try to refine new snapshot base down the chain
There are cases where doing a diff against a snapshot's parent will be shorter
than against the snapshot itself. Reusing snapshot not directly related to the
revision we are trying to store increase this odd.
So once we found a possible candidate, we check the snapshots lower in the
chain.
This will involve extra processing, but this extra processing will only happen
when we are doing building a snapshot, a rare situation.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 07 Sep 2018 11:17:35 -0400 |
parents | 964212780daf |
children | 26ce8e751503 |
line wrap: on
line source
[package] name = "hgcli" version = "0.1.0" authors = ["Gregory Szorc <gregory.szorc@gmail.com>"] license = "GPL-2.0" build = "build.rs" [[bin]] name = "hg" path = "src/main.rs" [features] # localdev: detect Python in PATH and use files from source checkout. default = ["localdev"] localdev = [] [dependencies] libc = "0.2.34" # We currently use a custom build of cpython and python27-sys with the # following changes: # * GILGuard call of prepare_freethreaded_python() is removed. # TODO switch to official release when our changes are incorporated. [dependencies.cpython] version = "0.1" default-features = false features = ["python27-sys"] git = "https://github.com/indygreg/rust-cpython.git" rev = "c90d65cf84abfffce7ef54476bbfed56017a2f52" [dependencies.python27-sys] version = "0.1.2" git = "https://github.com/indygreg/rust-cpython.git" rev = "c90d65cf84abfffce7ef54476bbfed56017a2f52"