equal
deleted
inserted
replaced
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` |