rust/hg-core/src/dirstate_tree/dispatch.rs
changeset 47524 69a463a4f193
parent 47521 abed645b8e96
child 47525 fe4641cf9b72
--- a/rust/hg-core/src/dirstate_tree/dispatch.rs	Sat Jul 03 20:57:44 2021 +0200
+++ b/rust/hg-core/src/dirstate_tree/dispatch.rs	Sat Jul 03 20:59:26 2021 +0200
@@ -47,7 +47,6 @@
     fn add_file(
         &mut self,
         filename: &HgPath,
-        old_state: EntryState,
         entry: DirstateEntry,
         from_p2: bool,
         possibly_dirty: bool,
@@ -287,12 +286,11 @@
     fn add_file(
         &mut self,
         filename: &HgPath,
-        old_state: EntryState,
         entry: DirstateEntry,
         from_p2: bool,
         possibly_dirty: bool,
     ) -> Result<(), DirstateError> {
-        self.add_file(filename, old_state, entry, from_p2, possibly_dirty)
+        self.add_file(filename, entry, from_p2, possibly_dirty)
     }
 
     fn remove_file(