Show More
@@ -469,7 +469,8 b' class revlog(object):' | |||||
469 | return self.nodemap[node] |
|
469 | return self.nodemap[node] | |
470 | except KeyError: |
|
470 | except KeyError: | |
471 | raise RevlogError(_('%s: no node %s') % (self.indexfile, hex(node))) |
|
471 | raise RevlogError(_('%s: no node %s') % (self.indexfile, hex(node))) | |
472 | def linkrev(self, node): return self.index[self.rev(node)][-4] |
|
472 | def linkrev(self, node): | |
|
473 | return (node == nullid) and -1 or self.index[self.rev(node)][-4] | |||
473 | def parents(self, node): |
|
474 | def parents(self, node): | |
474 | if node == nullid: return (nullid, nullid) |
|
475 | if node == nullid: return (nullid, nullid) | |
475 | r = self.rev(node) |
|
476 | r = self.rev(node) |
General Comments 0
You need to be logged in to leave comments.
Login now