##// END OF EJS Templates
rust-index: renamed nodemap error function for rev not in index...
Georges Racinet -
r52092:44fbb7df default
parent child Browse files
Show More
@@ -603,7 +603,7 b' fn revlog_error(py: Python) -> PyErr {'
603 603 }
604 604 }
605 605
606 fn rev_not_in_index(py: Python, rev: UncheckedRevision) -> PyErr {
606 fn nodemap_rev_not_in_index(py: Python, rev: UncheckedRevision) -> PyErr {
607 607 PyErr::new::<ValueError, _>(
608 608 py,
609 609 format!(
@@ -618,7 +618,7 b' fn rev_not_in_index(py: Python, rev: Unc'
618 618 fn nodemap_error(py: Python, err: NodeMapError) -> PyErr {
619 619 match err {
620 620 NodeMapError::MultipleResults => revlog_error(py),
621 NodeMapError::RevisionNotInIndex(r) => rev_not_in_index(py, r),
621 NodeMapError::RevisionNotInIndex(r) => nodemap_rev_not_in_index(py, r),
622 622 }
623 623 }
624 624
General Comments 0
You need to be logged in to leave comments. Login now