diff rust/hg-core/src/dirstate/entry.rs @ 48155:b2af515b4faf

dirstate-item: drop the legacy new_merged constructor Nobody is calling it anymore. Its purposes has been filled. Differential Revision: https://phab.mercurial-scm.org/D11599
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 01 Oct 2021 09:14:10 +0200
parents 7a8c9869e4fe
children d342815ff827
line wrap: on
line diff
--- a/rust/hg-core/src/dirstate/entry.rs	Fri Oct 01 09:12:52 2021 +0200
+++ b/rust/hg-core/src/dirstate/entry.rs	Fri Oct 01 09:14:10 2021 +0200
@@ -129,16 +129,6 @@
         }
     }
 
-    pub fn new_merged() -> Self {
-        Self {
-            flags: Flags::WDIR_TRACKED
-                | Flags::P1_TRACKED // might not be true because of rename ?
-                | Flags::P2_INFO, // might not be true because of rename ?
-            mode_size: None,
-            mtime: None,
-        }
-    }
-
     pub fn new_normal(mode: i32, size: i32, mtime: i32) -> Self {
         Self {
             flags: Flags::WDIR_TRACKED | Flags::P1_TRACKED,