sapling/eden/scm/lib/manifest/Cargo.toml
Stefan Filip 30045a27ba manifest: update python bindings to allow insertions before deletions
Summary:
The Mercurial code has the bad habbit of inserting files in what can
appear impossible locations. Sometimes files with directory names and
sometimes directories in file locations. This happens because the initial
code would do additions before deletions on Manifest implementations that
were rudimentary. As soon as we introduce validation various code paths
surface.

I tried to fix the codepaths that modify manifests but it's a losing game.
I fixed the issue that appeared in tests and a couple of issues people
reported but more situations crop up.

This is giving up on the python code.

Reviewed By: quark-zju

Differential Revision: D18737678

fbshipit-source-id: 0c97128ff67e5ba2334942b6afc404aa64a2e5f4
2019-12-02 15:53:41 -08:00

28 lines
666 B
TOML

[package]
name = "manifest"
version = "0.1.0"
authors = ["Facebook Source Control Team <sourcecontrol-dev@fb.com>"]
edition = "2018"
[features]
default = []
for-tests = ["quickcheck"]
[dependencies]
anyhow = "1.0.20"
bytes = { version = "0.4.11", features = ["serde"] }
once_cell = "1.0.2"
quickcheck = { version = "0.9", optional = true }
rand = { version = "0.7", optional = true }
pathmatcher = { path = "../pathmatcher" }
rust-crypto = "0.2"
thiserror = "1.0"
tracing = "0.1"
types = { path = "../types" }
[dev-dependencies]
parking_lot = "0.9"
quickcheck = "0.9"
rand = "0.7"
types = { path = "../types", default-features = false, features = ["for-tests"] }