rust/hg-cpython/src/dirstate/item.rs
changeset 48206 1000db4a71f1
parent 48176 1ab4523afe12
child 48263 602c8e8411f5
--- a/rust/hg-cpython/src/dirstate/item.rs	Tue Oct 12 16:38:13 2021 +0200
+++ b/rust/hg-cpython/src/dirstate/item.rs	Mon Oct 11 18:37:21 2021 +0200
@@ -21,7 +21,7 @@
         p2_info: bool = false,
         has_meaningful_data: bool = true,
         has_meaningful_mtime: bool = true,
-        parentfiledata: Option<(i32, i32, i32)> = None,
+        parentfiledata: Option<(u32, u32, u32)> = None,
 
     ) -> PyResult<DirstateItem> {
         let mut mode_size_opt = None;
@@ -145,9 +145,9 @@
 
     def set_clean(
         &self,
-        mode: i32,
-        size: i32,
-        mtime: i32,
+        mode: u32,
+        size: u32,
+        mtime: u32,
     ) -> PyResult<PyNone> {
         self.update(py, |entry| entry.set_clean(mode, size, mtime));
         Ok(PyNone)