dirstate: removed the now unused `_add` method
Differential Revision: https://phab.mercurial-scm.org/D11426
--- 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):