sapling/hgproto
Simon Farnsworth d3ec041698 Use first mfnode to replace empty base manifest in gettreepack
Summary: Gettreepack requests can be slow if there's no base manifest. Instead of trying to track every manifest we've passed down to the client (which is CPU and memory expensive, as we end up tracking every `(path, manifesthash)` pair in the output), simply use the first manifest we were asked for as the base manifest in this case

Reviewed By: StanislavGlebik

Differential Revision: D16120603

fbshipit-source-id: 19119e481dfad37c2539f6f02f6ffccb13bc9895
2019-07-05 08:12:55 -07:00
..
fixtures mononoke: hgproto: capture unbundle stream as Bytes 2017-11-01 18:51:21 -07:00
src Use first mfnode to replace empty base manifest in gettreepack 2019-07-05 08:12:55 -07:00
Cargo.toml Transition fbcode Rust crates to 2018 edition 2019-06-24 13:15:17 -07:00