##// END OF EJS Templates
hg-core: remove the `Operation` trait...
hg-core: remove the `Operation` trait There is no way to currently define a trait which can both return references to `self` and to passed data, which is what we would need. Generic Associated Types may fix this and allow us to have a unified interface. See: rust #44265 Differential Revision: https://phab.mercurial-scm.org/D8862

File last commit:

r45570:afecc7f7 default
r45917:452ece56 default
Show More
exitcode.rs
10 lines | 211 B | application/rls-services+xml | RustLexer
pub type ExitCode = i32;
/// Successful exit
pub const OK: ExitCode = 0;
/// Generic abort
pub const ABORT: ExitCode = 255;
/// Command not implemented by rhg
pub const UNIMPLEMENTED_COMMAND: ExitCode = 252;