# HG changeset patch # User Pierre-Yves David # Date 1627468746 -7200 # 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 -r 1a174f122814 -r 97acbced3a99 mercurial/dirstate.py --- a/mercurial/dirstate.py Mon Jul 26 15:02:23 2021 -0700 +++ b/mercurial/dirstate.py Wed Jul 28 12:39:06 2021 +0200 @@ -828,7 +828,7 @@ ) 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,