dirstate: remove _actual_file_name methode
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 02 Mar 2023 04:11:29 +0100
changeset 50420 db6d210e9618
parent 50419 10db46e128d4
child 50421 92f71d40fc1d
dirstate: remove _actual_file_name methode This is dead-code
mercurial/dirstate.py
--- a/mercurial/dirstate.py	Tue Feb 28 15:00:26 2023 -0500
+++ b/mercurial/dirstate.py	Thu Mar 02 04:11:29 2023 +0100
@@ -1754,12 +1754,6 @@
             return list(files)
         return [f for f in dmap if match(f)]
 
-    def _actualfilename(self, tr):
-        if tr:
-            return self._pendingfilename
-        else:
-            return self._filename
-
     def all_file_names(self):
         """list all filename currently used by this dirstate