view rust/rhg/src/exitcode.rs @ 45923:ead435aa5294

rhg: add a `debugrequirements` subcommand For now it only prints the contents of `.hg/requires` as-is, without parsing. Differential Revision: https://phab.mercurial-scm.org/D9397
author Simon Sapin <simon-commits@exyr.org>
date Tue, 24 Nov 2020 15:11:58 +0100
parents 513b3ef277a3
children ca3f73cc3cf4
line wrap: on
line source

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;