rust/hg-cpython/src/parsers.rs
changeset 47351 3b9914b28133
parent 47101 5d62243c7732
child 47539 84391ddf4c78
--- a/rust/hg-cpython/src/parsers.rs	Mon May 31 18:35:44 2021 +0200
+++ b/rust/hg-cpython/src/parsers.rs	Mon May 31 19:54:41 2021 +0200
@@ -98,7 +98,7 @@
             p1: p1.try_into().unwrap(),
             p2: p2.try_into().unwrap(),
         },
-        Timestamp(now.as_object().extract::<u64>(py)?),
+        Timestamp(now.as_object().extract::<i64>(py)?),
     ) {
         Ok(packed) => {
             for (filename, entry) in dirstate_map.iter() {