Mercurial > public > mercurial-scm > hg
comparison rust/hg-core/src/revlog.rs @ 46090:9eb07ab3f2d4
rhg: use persistent nodemap when available
? for node ID ? revision number lookups, instead on linear scan in a revlog.
Differential Revision: https://phab.mercurial-scm.org/D9520
author | Simon Sapin <simon-commits@exyr.org> |
---|---|
date | Fri, 04 Dec 2020 17:27:10 +0100 |
parents | aebc976fd7d5 |
children | 5893706af3de |
comparison
equal
deleted
inserted
replaced
46089:8ff2d8359d0f | 46090:9eb07ab3f2d4 |
---|---|
5 // GNU General Public License version 2 or any later version. | 5 // GNU General Public License version 2 or any later version. |
6 //! Mercurial concepts for handling revision history | 6 //! Mercurial concepts for handling revision history |
7 | 7 |
8 pub mod node; | 8 pub mod node; |
9 pub mod nodemap; | 9 pub mod nodemap; |
10 mod nodemap_docket; | |
10 pub mod path_encode; | 11 pub mod path_encode; |
11 pub use node::{Node, NodeError, NodePrefix, NodePrefixRef}; | 12 pub use node::{Node, NodeError, NodePrefix, NodePrefixRef}; |
12 pub mod changelog; | 13 pub mod changelog; |
13 pub mod index; | 14 pub mod index; |
14 pub mod manifest; | 15 pub mod manifest; |