Show More
@@ -100,6 +100,9 b' class manifestdict(object):' | |||
|
100 | 100 | def __getitem__(self, key): |
|
101 | 101 | return self._lm[key][0] |
|
102 | 102 | |
|
103 | def find(self, key): | |
|
104 | return self._lm[key] | |
|
105 | ||
|
103 | 106 | def __len__(self): |
|
104 | 107 | return len(self._lm) |
|
105 | 108 | |
@@ -352,7 +355,7 b' class manifest(revlog.revlog):' | |||
|
352 | 355 | return m.get(f), m.flags(f) |
|
353 | 356 | text = self.revision(node) |
|
354 | 357 | try: |
|
355 |
return manifestdict(text). |
|
|
358 | return manifestdict(text).find(f) | |
|
356 | 359 | except KeyError: |
|
357 | 360 | return None, None |
|
358 | 361 |
General Comments 0
You need to be logged in to leave comments.
Login now