Show More
@@ -327,6 +327,8 b' class dirstate(object):' | |||||
327 | consider migrating all user of this to going through the dirstate entry |
|
327 | consider migrating all user of this to going through the dirstate entry | |
328 | instead. |
|
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 | entry = self._map.get(key) |
|
332 | entry = self._map.get(key) | |
331 | if entry is not None: |
|
333 | if entry is not None: | |
332 | return entry.state |
|
334 | return entry.state |
General Comments 0
You need to be logged in to leave comments.
Login now