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 | PyErr::new::<ValueError, _>( |
|
607 | PyErr::new::<ValueError, _>( | |
608 | py, |
|
608 | py, | |
609 | format!( |
|
609 | format!( | |
@@ -618,7 +618,7 b' fn rev_not_in_index(py: Python, rev: Unc' | |||||
618 | fn nodemap_error(py: Python, err: NodeMapError) -> PyErr { |
|
618 | fn nodemap_error(py: Python, err: NodeMapError) -> PyErr { | |
619 | match err { |
|
619 | match err { | |
620 | NodeMapError::MultipleResults => revlog_error(py), |
|
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