Show More
@@ -511,10 +511,11 b' class changectx(basectx):' | |||
|
511 | 511 | |
|
512 | 512 | @propertycache |
|
513 | 513 | def _parents(self): |
|
514 | p = self._repo.changelog.parentrevs(self._rev) | |
|
515 | if p[1] == nullrev: | |
|
516 | p = p[:-1] | |
|
517 |
return [changectx( |
|
|
514 | repo = self._repo | |
|
515 | p1, p2 = repo.changelog.parentrevs(self._rev) | |
|
516 | if p2 == nullrev: | |
|
517 | return [changectx(repo, p1)] | |
|
518 | return [changectx(repo, p1), changectx(repo, p2)] | |
|
518 | 519 | |
|
519 | 520 | def changeset(self): |
|
520 | 521 | return self._changeset |
General Comments 0
You need to be logged in to leave comments.
Login now