57 copy_tracing::init_module(py, &dotted_name)?, |
56 copy_tracing::init_module(py, &dotted_name)?, |
58 )?; |
57 )?; |
59 m.add(py, "discovery", discovery::init_module(py, &dotted_name)?)?; |
58 m.add(py, "discovery", discovery::init_module(py, &dotted_name)?)?; |
60 m.add(py, "dirstate", dirstate::init_module(py, &dotted_name)?)?; |
59 m.add(py, "dirstate", dirstate::init_module(py, &dotted_name)?)?; |
61 m.add(py, "revlog", revlog::init_module(py, &dotted_name)?)?; |
60 m.add(py, "revlog", revlog::init_module(py, &dotted_name)?)?; |
62 m.add( |
|
63 py, |
|
64 "parsers", |
|
65 parsers::init_parsers_module(py, &dotted_name)?, |
|
66 )?; |
|
67 m.add(py, "GraphError", py.get_type::<exceptions::GraphError>())?; |
61 m.add(py, "GraphError", py.get_type::<exceptions::GraphError>())?; |
68 Ok(()) |
62 Ok(()) |
69 }); |
63 }); |
70 |
64 |
71 #[cfg(not(any(feature = "python27-bin", feature = "python3-bin")))] |
65 #[cfg(not(any(feature = "python27-bin", feature = "python3-bin")))] |