rust/hg-core/src/revlog.rs
changeset 46821 e8ae91b1a63d
parent 46431 645ee7225fab
child 47961 4d2a5ca060e3
equal deleted inserted replaced
46820:821929d59e01 46821:e8ae91b1a63d
    33 /// This is also equal to `i32::max_value()`, but it's better to spell
    33 /// This is also equal to `i32::max_value()`, but it's better to spell
    34 /// it out explicitely, same as in `mercurial.node`
    34 /// it out explicitely, same as in `mercurial.node`
    35 #[allow(clippy::unreadable_literal)]
    35 #[allow(clippy::unreadable_literal)]
    36 pub const WORKING_DIRECTORY_REVISION: Revision = 0x7fffffff;
    36 pub const WORKING_DIRECTORY_REVISION: Revision = 0x7fffffff;
    37 
    37 
       
    38 pub const WORKING_DIRECTORY_HEX: &str =
       
    39     "ffffffffffffffffffffffffffffffffffffffff";
       
    40 
    38 /// The simplest expression of what we need of Mercurial DAGs.
    41 /// The simplest expression of what we need of Mercurial DAGs.
    39 pub trait Graph {
    42 pub trait Graph {
    40     /// Return the two parents of the given `Revision`.
    43     /// Return the two parents of the given `Revision`.
    41     ///
    44     ///
    42     /// Each of the parents can be independently `NULL_REVISION`
    45     /// Each of the parents can be independently `NULL_REVISION`