rust/hg-cpython/src/revlog.rs
changeset 52771 2fb13c3f4496
parent 52411 c2480ac4c5e2
child 52884 8de68446a5bd
--- a/rust/hg-cpython/src/revlog.rs	Fri Feb 07 16:03:35 2025 -0500
+++ b/rust/hg-cpython/src/revlog.rs	Fri Feb 07 16:07:35 2025 -0500
@@ -95,6 +95,9 @@
             Err(hg::GraphError::ParentOutOfRange(rev)) => {
                 Err(vcsgraph::graph::GraphReadError::KeyedInvalidKey(rev.0))
             }
+            Err(hg::GraphError::ParentOutOfOrder(_)) => {
+                Err(vcsgraph::graph::GraphReadError::InconsistentGraphData)
+            }
         }
     }
 }