Show More
@@ -270,7 +270,10 class changelog(baselog): | |||||
270 | def parentrevs(self, rev): |
|
270 | def parentrevs(self, rev): | |
271 | n = self.node(rev) |
|
271 | n = self.node(rev) | |
272 | hn = gitutil.togitnode(n) |
|
272 | hn = gitutil.togitnode(n) | |
|
273 | if hn != gitutil.nullgit: | |||
273 | c = self.gitrepo[hn] |
|
274 | c = self.gitrepo[hn] | |
|
275 | else: | |||
|
276 | return nodemod.nullrev, nodemod.nullrev | |||
274 | p1 = p2 = nodemod.nullrev |
|
277 | p1 = p2 = nodemod.nullrev | |
275 | if c.parents: |
|
278 | if c.parents: | |
276 | p1 = self.rev(c.parents[0].id.raw) |
|
279 | p1 = self.rev(c.parents[0].id.raw) |
General Comments 0
You need to be logged in to leave comments.
Login now