diff --git a/eden/scm/lib/configparser/src/hg.rs b/eden/scm/lib/configparser/src/hg.rs index 3e84c4603e..3e6ae333e1 100644 --- a/eden/scm/lib/configparser/src/hg.rs +++ b/eden/scm/lib/configparser/src/hg.rs @@ -255,10 +255,10 @@ impl ConfigSetHgExt for ConfigSet { if std::env::var(HGRCPATH).is_err() { errors.append(&mut self.parse(MERGE_TOOLS_CONFIG, &"merge-tools.rc".into())); } - errors.append(&mut self.load_system(opts.clone())); if let Some(repo_path) = repo_path { errors.append(&mut self.load_dynamic(&repo_path, opts.clone())?); } + errors.append(&mut self.load_system(opts.clone())); errors.append(&mut self.load_user(opts.clone())); if let Some(repo_path) = repo_path {