comparison 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
comparison
equal deleted inserted replaced
47777:1a174f122814 47778:97acbced3a99
826 b'6.0', 826 b'6.0',
827 stacklevel=2, 827 stacklevel=2,
828 ) 828 )
829 else: 829 else:
830 util.nouideprecwarn( 830 util.nouideprecwarn(
831 b"do not use `remove` outside of update/merge context." 831 b"do not use `add` outside of update/merge context."
832 b" Use `set_tracked`", 832 b" Use `set_tracked`",
833 b'6.0', 833 b'6.0',
834 stacklevel=2, 834 stacklevel=2,
835 ) 835 )
836 self._add(f) 836 self._add(f)