Mercurial > hg
diff rust/hg-core/src/operations/cat.rs @ 48540:20d0d896183e
rhg: Rename some revlog-related types and methods
Use "data chunck" and "data" for a revlog entry’s data before and after
resolving deltas (if any), repsectively.
The former `FilelogEntry` actually only contains data, rename it to
`FilelogRevisionData` accordingly. This leaves room to later have a
`FilelogEntry` type that wraps `RevlogEntry`.
Differential Revision: https://phab.mercurial-scm.org/D11959
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Tue, 21 Dec 2021 15:57:30 +0100 |
parents | eb428010aad2 |
children | 49131579db62 |
line wrap: on
line diff
--- a/rust/hg-core/src/operations/cat.rs Wed Jan 05 13:36:05 2022 -0500 +++ b/rust/hg-core/src/operations/cat.rs Tue Dec 21 15:57:30 2021 +0100 @@ -101,7 +101,7 @@ let file_log = repo.filelog(file_path)?; results.push(( file_path, - file_log.data_for_node(file_node)?.into_data()?, + file_log.data_for_node(file_node)?.into_file_data()?, )); }