Show More
@@ -330,7 +330,9 b' class localrepository(repo.repository):' | |||
|
330 | 330 | else: |
|
331 | 331 | n = self.changelog.lookup(changeid) |
|
332 | 332 | pl = self.changelog.parents(n) |
|
333 | return [self.changectx(n) for n in pl if n != nullid] | |
|
333 | if pl[1] == nullid: | |
|
334 | return [self.changectx(pl[0])] | |
|
335 | return [self.changectx(pl[0]), self.changectx(pl[1])] | |
|
334 | 336 | |
|
335 | 337 | def filectx(self, path, changeid=None, fileid=None): |
|
336 | 338 | """changeid can be a changeset revision, node, or tag. |
General Comments 0
You need to be logged in to leave comments.
Login now