--- a/rust/rhg/src/commands/debugrhgsparse.rs Fri Jan 06 18:52:04 2023 +0100
+++ b/rust/rhg/src/commands/debugrhgsparse.rs Mon Jan 09 17:40:03 2023 +0100
@@ -24,7 +24,7 @@
pub fn run(invocation: &crate::CliInvocation) -> Result<(), CommandError> {
let repo = invocation.repo?;
- let (matcher, _warnings) = hg::sparse::matcher(&repo).unwrap();
+ let (matcher, _warnings) = hg::sparse::matcher(repo).unwrap();
let files = invocation.subcommand_args.get_many::<OsString>("files");
if let Some(files) = files {
let files: Vec<&OsStr> = files