Show More
@@ -16,6 +16,12 b' pub type Revision = i32;' | |||||
16 |
|
16 | |||
17 | pub const NULL_REVISION: Revision = -1; |
|
17 | pub const NULL_REVISION: Revision = -1; | |
18 |
|
18 | |||
|
19 | /// Same as `mercurial.node.wdirrev` | |||
|
20 | /// | |||
|
21 | /// This is also equal to `i32::max_value()`, but it's better to spell | |||
|
22 | /// it out explicitely, same as in `mercurial.node` | |||
|
23 | pub const WORKING_DIRECTORY_REVISION: Revision = 0x7fffffff; | |||
|
24 | ||||
19 | /// The simplest expression of what we need of Mercurial DAGs. |
|
25 | /// The simplest expression of what we need of Mercurial DAGs. | |
20 | pub trait Graph { |
|
26 | pub trait Graph { | |
21 | /// Return the two parents of the given `Revision`. |
|
27 | /// Return the two parents of the given `Revision`. |
General Comments 0
You need to be logged in to leave comments.
Login now