# HG changeset patch # User Pierre-Yves David # Date 2021-07-28 10:39:06 # Node ID 97acbced3a9944fa3ac785e7dddc224d17adb35b # Parent 1a174f1228147e8f7cd62f07bd80bbd4fbc03b77 dirstate: use `add` in the deprecation message about `add` The previous message was talking about `remove`. Differential Revision: https://phab.mercurial-scm.org/D11224 diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py --- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -828,7 +828,7 @@ class dirstate(object): ) else: util.nouideprecwarn( - b"do not use `remove` outside of update/merge context." + b"do not use `add` outside of update/merge context." b" Use `set_tracked`", b'6.0', stacklevel=2,