##// END OF EJS Templates
rhg: use a release-mode executable in tests...
rhg: use a release-mode executable in tests This allows the rhg build for test-rhg.t to share compiled dependencies such as hg-core with the hg-cpython build for other tests. For context, my wrapper script for the typical edit-compile-test cycle now looks like this: (cd rust && cargo +nightly-2020-10-04 fmt) (cd rust && cargo build --release -p rhg) make --silent local PURE=--rust python test/run-tests.py --local "$@" Differential Revision: https://phab.mercurial-scm.org/D9728

File last commit:

r45570:afecc7f7 default
r46845:e73b40c7 default
Show More
exitcode.rs
10 lines | 211 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;
Antoine Cezar
rhg: add rhg crate...
r45503 /// Command not implemented by rhg
pub const UNIMPLEMENTED_COMMAND: ExitCode = 252;