equal
deleted
inserted
replaced
7 |
7 |
8 //! Bindings to use the Index defined by the parsers C extension |
8 //! Bindings to use the Index defined by the parsers C extension |
9 //! |
9 //! |
10 //! Ideally, we should use an Index entirely implemented in Rust, |
10 //! Ideally, we should use an Index entirely implemented in Rust, |
11 //! but this will take some time to get there. |
11 //! but this will take some time to get there. |
12 |
12 #![allow(dead_code)] |
13 use cpython::{ |
13 use cpython::{ |
14 exc::ImportError, exc::TypeError, ObjectProtocol, PyClone, PyErr, |
14 exc::ImportError, exc::TypeError, ObjectProtocol, PyClone, PyErr, |
15 PyObject, PyResult, PyTuple, Python, PythonObject, |
15 PyObject, PyResult, PyTuple, Python, PythonObject, |
16 }; |
16 }; |
17 use hg::revlog::{Node, RevlogIndex}; |
17 use hg::revlog::{Node, RevlogIndex}; |