view rust/rhg/src/exitcode.rs @ 46655:e4e971abb6a3

debugtagscache: verify that filenode is correct Previous patch from Matt demonstrates that `debugtagscache` does not warn about filenode being unknown which can be caused by a corrupted cache. We start by showing that it's an unknown node. Differential Revision: https://phab.mercurial-scm.org/D10015
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 15 Feb 2021 17:08:18 +0530
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;