[Updated] D11426: dirstate: removed the now unused `_add` method
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Mon Sep 20 14:07:03 UTC 2021
Closed by commit rHG72b80a0124f8: dirstate: removed the now unused `_add` method (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11426?vs=30264&id=30308
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11426/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11426
AFFECTED FILES
mercurial/dirstate.py
CHANGE DETAILS
diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -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):
To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210920/64fdb823/attachment-0002.html>
More information about the Mercurial-patches
mailing list