##// END OF EJS Templates
engine: 'if not, else' -> 'if, else'...
engine: 'if not, else' -> 'if, else' I personally feel that ``` if x: pass else: pass ``` is easier to read and edit than ``` if not x: pass else: pass ``` Next patches will add one more if-else clause. Differential Revision: https://phab.mercurial-scm.org/D9931

File last commit:

r47174:ca3f73cc default
r47194:45c3a263 default
Show More
exitcode.rs
10 lines | 214 B | application/rls-services+xml | RustLexer
Antoine Cezar
rhg: add rhg crate...
r45503 pub type ExitCode = i32;
Antoine Cezar
rhg: add RootCommand using hg-core FindRoot operation to prepare `hg root`...
r45592 /// Successful exit
pub const OK: ExitCode = 0;
/// Generic abort
pub const ABORT: ExitCode = 255;
Simon Sapin
rhg: Simplify CommandError based on its use...
r47174 /// Command or feature not implemented by rhg
pub const UNIMPLEMENTED: ExitCode = 252;