comparison rust/hg-core/src/revlog.rs @ 47961:4d2a5ca060e3

rust: Add a Filelog struct that wraps Revlog Some filelog-specific logic is moved from code `rhg cat` into this struct where it can better be reused. Additionally, a missing end delimiter for metadata causes an error to be returned instead of being silently ignored. Differential Revision: https://phab.mercurial-scm.org/D11408
author Simon Sapin <simon.sapin@octobus.net>
date Mon, 13 Sep 2021 15:42:39 +0200
parents e8ae91b1a63d
children
comparison
equal deleted inserted replaced
47960:cfb6e6699b25 47961:4d2a5ca060e3
9 pub mod nodemap; 9 pub mod nodemap;
10 mod nodemap_docket; 10 mod nodemap_docket;
11 pub mod path_encode; 11 pub mod path_encode;
12 pub use node::{FromHexError, Node, NodePrefix}; 12 pub use node::{FromHexError, Node, NodePrefix};
13 pub mod changelog; 13 pub mod changelog;
14 pub mod filelog;
14 pub mod index; 15 pub mod index;
15 pub mod manifest; 16 pub mod manifest;
16 pub mod patch; 17 pub mod patch;
17 pub mod revlog; 18 pub mod revlog;
18 19