Show More
@@ -38,6 +38,13 b' class manifest(revlog.revlog):' | |||
|
38 | 38 | r = self.rev(node) |
|
39 | 39 | return self.parse(mdiff.patchtext(self.revdiff(self.deltaparent(r), r))) |
|
40 | 40 | |
|
41 | def readfast(self, node): | |
|
42 | '''use the faster of readdelta or read''' | |
|
43 | r = self.rev(node) | |
|
44 | if self.deltaparent(r) in self.parentrevs(r): | |
|
45 | return self.readdelta(node) | |
|
46 | return self.read(node) | |
|
47 | ||
|
41 | 48 | def read(self, node): |
|
42 | 49 | if node == revlog.nullid: |
|
43 | 50 | return manifestdict() # don't upset local cache |
General Comments 0
You need to be logged in to leave comments.
Login now