Mercurial > hg-stable
changeset 48010:72b80a0124f8
dirstate: removed the now unused `_add` method
Differential Revision: https://phab.mercurial-scm.org/D11426
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 15 Sep 2021 09:50:44 +0200 |
parents | 7e65ca30fb91 |
children | dd267f16042f |
files | mercurial/dirstate.py |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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):