rust/hg-cpython/src/cindex.rs
changeset 52771 2fb13c3f4496
parent 51250 96e05f1a99bd
equal deleted inserted replaced
52770:7b4548a075ab 52771:2fb13c3f4496
   169                 Ok(vcsgraph::graph::Parents([parents[0].0, parents[1].0]))
   169                 Ok(vcsgraph::graph::Parents([parents[0].0, parents[1].0]))
   170             }
   170             }
   171             Err(GraphError::ParentOutOfRange(rev)) => {
   171             Err(GraphError::ParentOutOfRange(rev)) => {
   172                 Err(vcsgraph::graph::GraphReadError::KeyedInvalidKey(rev.0))
   172                 Err(vcsgraph::graph::GraphReadError::KeyedInvalidKey(rev.0))
   173             }
   173             }
       
   174             Err(GraphError::ParentOutOfOrder(_)) => {
       
   175                 Err(vcsgraph::graph::GraphReadError::InconsistentGraphData)
       
   176             }
   174         }
   177         }
   175     }
   178     }
   176 }
   179 }
   177 
   180 
   178 impl vcsgraph::graph::RankedGraph for Index {
   181 impl vcsgraph::graph::RankedGraph for Index {