Show More
@@ -332,6 +332,13 b' class dirstate(object):' | |||
|
332 | 332 | return entry.state |
|
333 | 333 | return b'?' |
|
334 | 334 | |
|
335 | def get_entry(self, path): | |
|
336 | """return a DirstateItem for the associated path""" | |
|
337 | entry = self._map.get(path) | |
|
338 | if entry is None: | |
|
339 | return DirstateItem() | |
|
340 | return entry | |
|
341 | ||
|
335 | 342 | def __contains__(self, key): |
|
336 | 343 | return key in self._map |
|
337 | 344 |
General Comments 0
You need to be logged in to leave comments.
Login now