--- a/rust/rhg/src/commands/status.rs Wed Jan 05 13:36:05 2022 -0500
+++ b/rust/rhg/src/commands/status.rs Tue Dec 21 15:57:30 2021 +0100
@@ -522,7 +522,7 @@
filelog.data_for_node(entry.node_id()?).map_err(|_| {
HgError::corrupted("filelog missing node from manifest")
})?;
- let contents_in_p1 = filelog_entry.data()?;
+ let contents_in_p1 = filelog_entry.file_data()?;
if contents_in_p1.len() as u64 != fs_len {
// No need to read the file contents:
// it cannot be equal if it has a different length.