Mercurial > public > mercurial-scm > hg
diff mercurial/interfaces/dirstate.py @ 48531:934a6213fee9
dirstate: remove deprecated API
Differential Revision: https://phab.mercurial-scm.org/D11953
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Thu, 23 Dec 2021 14:49:28 +0100 |
parents | 51cd60c0a345 |
children | 6000f5b25c9b |
line wrap: on
line diff
--- a/mercurial/interfaces/dirstate.py Thu Dec 23 14:49:05 2021 +0100 +++ b/mercurial/interfaces/dirstate.py Thu Dec 23 14:49:28 2021 +0100 @@ -66,17 +66,6 @@ def pathto(f, cwd=None): pass - def __getitem__(key): - """Return the current state of key (a filename) in the dirstate. - - States are: - n normal - m needs merging - r marked for removal - a marked for addition - ? not tracked - """ - def __contains__(key): """Check if bytestring `key` is known to the dirstate."""