diff mercurial/dirstate.py @ 47778: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 03089463c554
children 1c797757f5bb
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,