diff -r a1fce5003ff4 -r 3f5e207f78be rust/hg-core/src/repo.rs --- a/rust/hg-core/src/repo.rs Tue Apr 12 17:25:38 2022 +0200 +++ b/rust/hg-core/src/repo.rs Tue Apr 12 17:26:23 2022 +0200 @@ -401,7 +401,7 @@ pub fn has_subrepos(&self) -> Result { if let Some(entry) = self.dirstate_map()?.get(HgPath::new(".hgsub"))? { - Ok(entry.state().is_tracked()) + Ok(entry.tracked()) } else { Ok(false) }