changeset 49136 | 3f5e207f78be |
parent 49091 | 9b5334c1e499 |
child 49147 | 10b9f11daf15 |
--- 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<bool, DirstateError> { if let Some(entry) = self.dirstate_map()?.get(HgPath::new(".hgsub"))? { - Ok(entry.state().is_tracked()) + Ok(entry.tracked()) } else { Ok(false) }