rust/hg-cpython/src/lib.rs
changeset 44531 d4f19eb471ca
parent 44137 3bd77c64bc74
child 45945 50c5ee3bdf9a
equal deleted inserted replaced
44530:4d1634e59f13 44531:d4f19eb471ca
    28 mod cindex;
    28 mod cindex;
    29 mod conversion;
    29 mod conversion;
    30 #[macro_use]
    30 #[macro_use]
    31 pub mod ref_sharing;
    31 pub mod ref_sharing;
    32 pub mod dagops;
    32 pub mod dagops;
       
    33 pub mod debug;
    33 pub mod dirstate;
    34 pub mod dirstate;
    34 pub mod discovery;
    35 pub mod discovery;
    35 pub mod exceptions;
    36 pub mod exceptions;
    36 pub mod parsers;
    37 pub mod parsers;
    37 pub mod revlog;
    38 pub mod revlog;
    45     )?;
    46     )?;
    46 
    47 
    47     let dotted_name: String = m.get(py, "__name__")?.extract(py)?;
    48     let dotted_name: String = m.get(py, "__name__")?.extract(py)?;
    48     m.add(py, "ancestor", ancestors::init_module(py, &dotted_name)?)?;
    49     m.add(py, "ancestor", ancestors::init_module(py, &dotted_name)?)?;
    49     m.add(py, "dagop", dagops::init_module(py, &dotted_name)?)?;
    50     m.add(py, "dagop", dagops::init_module(py, &dotted_name)?)?;
       
    51     m.add(py, "debug", debug::init_module(py, &dotted_name)?)?;
    50     m.add(py, "discovery", discovery::init_module(py, &dotted_name)?)?;
    52     m.add(py, "discovery", discovery::init_module(py, &dotted_name)?)?;
    51     m.add(py, "dirstate", dirstate::init_module(py, &dotted_name)?)?;
    53     m.add(py, "dirstate", dirstate::init_module(py, &dotted_name)?)?;
    52     m.add(py, "revlog", revlog::init_module(py, &dotted_name)?)?;
    54     m.add(py, "revlog", revlog::init_module(py, &dotted_name)?)?;
    53     m.add(
    55     m.add(
    54         py,
    56         py,