changeset 49978:e43f91244de2

rhg: fix typo
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 11 Jan 2023 15:44:21 +0100
parents afa9d73780e1
children f5b168979626
files rust/rhg/src/commands/files.rs
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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))
     }
 }