changeset 47777:97acbced3a99 stable

dirstate: use `add` in the deprecation message about `add` The previous message was talking about `remove`. Differential Revision: https://phab.mercurial-scm.org/D11224
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 28 Jul 2021 12:39:06 +0200
parents 1a174f122814
children 6df528ed47a9
files mercurial/dirstate.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,