Mercurial > public > mercurial-scm > hg
view rust/rhg/src/exitcode.rs @ 46505:a25033eb43b5
rhg: add limited support for the `config` sub-command
Only with one argument and no flag. This is mostly for testing.
Differential Revision: https://phab.mercurial-scm.org/D9972
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Mon, 08 Feb 2021 23:41:58 +0100 |
parents | ca3f73cc3cf4 |
children | b1f2c2b336ec |
line wrap: on
line source
pub type ExitCode = i32; /// Successful exit pub const OK: ExitCode = 0; /// Generic abort pub const ABORT: ExitCode = 255; /// Command or feature not implemented by rhg pub const UNIMPLEMENTED: ExitCode = 252;