equal
deleted
inserted
replaced
327 } else { |
327 } else { |
328 &non_repo_config |
328 &non_repo_config |
329 }; |
329 }; |
330 |
330 |
331 let mut config_cow = Cow::Borrowed(config); |
331 let mut config_cow = Cow::Borrowed(config); |
332 if ui::plain(None) { |
332 config_cow.to_mut().apply_plain(PlainInfo::from_env()); |
333 config_cow.to_mut().apply_plain(PlainInfo { |
|
334 plain: true, |
|
335 plainalias: ui::plain(Some("alias")), |
|
336 plainrevsetalias: ui::plain(Some("revsetalias")), |
|
337 plaintemplatealias: ui::plain(Some("templatealias")), |
|
338 }) |
|
339 }; |
|
340 let config = config_cow.as_ref(); |
333 let config = config_cow.as_ref(); |
341 |
334 |
342 let ui = Ui::new(&config).unwrap_or_else(|error| { |
335 let ui = Ui::new(&config).unwrap_or_else(|error| { |
343 exit( |
336 exit( |
344 &argv, |
337 &argv, |