rust/rhg/src/commands/status.rs
changeset 48540 20d0d896183e
parent 48513 47f2a82ae3e4
child 48542 35c47015b9b7
--- 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.