changeset 48344:b6d8eea9872c

rhg: Rename cat_file_is_modified It hasn’t been based on the "cat operation" for some time already. Differential Revision: https://phab.mercurial-scm.org/D11773
author Simon Sapin <simon.sapin@octobus.net>
date Tue, 23 Nov 2021 19:40:29 +0100
parents eb428010aad2
children d5a91701f7dc
files rust/rhg/src/commands/status.rs
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rust/rhg/src/commands/status.rs	Tue Nov 23 19:39:51 2021 +0100
+++ b/rust/rhg/src/commands/status.rs	Tue Nov 23 19:40:29 2021 +0100
@@ -227,7 +227,7 @@
             CommandError::from((e, &*format!("{:x}", p1.short())))
         })?;
         for to_check in ds_status.unsure {
-            if cat_file_is_modified(repo, &manifest, &to_check)? {
+            if unsure_is_modified(repo, &manifest, &to_check)? {
                 if display_states.modified {
                     ds_status.modified.push(to_check);
                 }
@@ -304,7 +304,7 @@
 /// to time resolution limits.
 ///
 /// TODO: detect permission bits and similar metadata modifications
-fn cat_file_is_modified(
+fn unsure_is_modified(
     repo: &Repo,
     manifest: &Manifest,
     hg_path: &HgPath,