diff rust/rhg/src/commands/files.rs @ 49978:e43f91244de2

rhg: fix typo
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 11 Jan 2023 15:44:21 +0100
parents 37bc3edef76f
children 95ffa065204e
line wrap: on
line diff
--- a/rust/rhg/src/commands/files.rs	Fri Feb 03 17:31:54 2023 -0500
+++ b/rust/rhg/src/commands/files.rs	Wed Jan 11 15:44:21 2023 +0100
@@ -70,8 +70,8 @@
                 "rhg files is not supported in narrow clones",
             ));
         }
-        let distate = Dirstate::new(repo)?;
-        let files = distate.tracked_files()?;
+        let dirstate = Dirstate::new(repo)?;
+        let files = dirstate.tracked_files()?;
         display_files(invocation.ui, repo, files.into_iter().map(Ok))
     }
 }