##// END OF EJS Templates
revlog: change _addrevision to return the new revision...
revlog: change _addrevision to return the new revision The node is passed as argument already, so returning it is quite pointless. The revision number on the other is useful as it decouples the caller from the revlog internals. Differential Revision: https://phab.mercurial-scm.org/D9880

File last commit:

r47174:ca3f73cc default
r47256:07984507 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;