# HG changeset patch # User Pierre-Yves David # Date 1631692244 -7200 # Node ID 72b80a0124f8ff11920897caa46dbe6f30e7b85b # Parent 7e65ca30fb9166949bcb639e494955434543648e dirstate: removed the now unused `_add` method Differential Revision: https://phab.mercurial-scm.org/D11426 diff -r 7e65ca30fb91 -r 72b80a0124f8 mercurial/dirstate.py --- 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):