diff rust/hg-core/src/config/layer.rs @ 48733:39c447e03dbc

rhg: Add support for colored output The same "label" system is used as in Python code Differential Revision: https://phab.mercurial-scm.org/D12167
author Simon Sapin <simon.sapin@octobus.net>
date Thu, 10 Feb 2022 12:59:32 +0100
parents d4a5c2197208
children 9f14126cfc4c
line wrap: on
line diff
--- a/rust/hg-core/src/config/layer.rs	Thu Feb 10 13:56:43 2022 +0100
+++ b/rust/hg-core/src/config/layer.rs	Thu Feb 10 12:59:32 2022 +0100
@@ -295,7 +295,7 @@
     pub line: Option<usize>,
 }
 
-#[derive(Clone, Debug)]
+#[derive(Clone, Debug, PartialEq, Eq)]
 pub enum ConfigOrigin {
     /// From a configuration file
     File(PathBuf),