Show More
@@ -469,7 +469,8 b' class revlog(object):' | |||
|
469 | 469 | return self.nodemap[node] |
|
470 | 470 | except KeyError: |
|
471 | 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 | 474 | def parents(self, node): |
|
474 | 475 | if node == nullid: return (nullid, nullid) |
|
475 | 476 | r = self.rev(node) |
General Comments 0
You need to be logged in to leave comments.
Login now