--- a/rust/hg-cpython/src/dirstate/dispatch.rs Thu Jul 15 23:02:17 2021 +0200
+++ b/rust/hg-cpython/src/dirstate/dispatch.rs Fri Jul 16 14:08:26 2021 +0200
@@ -203,17 +203,30 @@
self.get().iter()
}
- fn iter_directories(
+ fn iter_tracked_dirs(
+ &mut self,
+ ) -> Result<
+ Box<
+ dyn Iterator<Item = Result<&HgPath, DirstateV2ParseError>>
+ + Send
+ + '_,
+ >,
+ DirstateError,
+ > {
+ self.get_mut().iter_tracked_dirs()
+ }
+
+ fn debug_iter(
&self,
) -> Box<
dyn Iterator<
Item = Result<
- (&HgPath, Option<Timestamp>),
+ (&HgPath, (u8, i32, i32, i32)),
DirstateV2ParseError,
>,
> + Send
+ '_,
> {
- self.get().iter_directories()
+ self.get().debug_iter()
}
}