mercurial/dirstate.py
changeset 47986 72b80a0124f8
parent 47985 7e65ca30fb91
child 47987 dd267f16042f
--- a/mercurial/dirstate.py	Wed Sep 15 18:18:16 2021 +0200
+++ b/mercurial/dirstate.py	Wed Sep 15 09:50:44 2021 +0200
@@ -744,10 +744,6 @@
         self._addpath(f, possibly_dirty=True)
         self._map.copymap.pop(f, None)
 
-    def _add(self, filename):
-        """internal function to mark a file as added"""
-        self._addpath(filename, added=True)
-
     def _drop(self, filename):
         """internal function to drop a file from the dirstate"""
         if self._map.dropfile(filename):