##// END OF EJS Templates
dirstate: deprecate `__getitem__` access...
marmoute -
r48919:dcd97b08 default
parent child Browse files
Show More
@@ -327,6 +327,8 class dirstate(object):
327 327 consider migrating all user of this to going through the dirstate entry
328 328 instead.
329 329 """
330 msg = b"don't use dirstate[file], use dirstate.get_entry(file)"
331 util.nouideprecwarn(msg, b'6.1', stacklevel=2)
330 332 entry = self._map.get(key)
331 333 if entry is not None:
332 334 return entry.state
General Comments 0
You need to be logged in to leave comments. Login now