diff -r 61fe7e17f21b -r 934a6213fee9 mercurial/interfaces/dirstate.py --- 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."""