##// END OF EJS Templates
changectx: use unfiltered changelog to access parents of unfiltered revs...
marmoute -
r44203:f9068413 default
parent child Browse files
Show More
@@ -523,7 +523,12 b' class changectx(basectx):'
523 @propertycache
523 @propertycache
524 def _parents(self):
524 def _parents(self):
525 repo = self._repo
525 repo = self._repo
526 p1, p2 = repo.changelog.parentrevs(self._rev)
526 if self._maybe_filtered:
527 cl = repo.changelog
528 else:
529 cl = repo.unfiltered().changelog
530
531 p1, p2 = cl.parentrevs(self._rev)
527 if p2 == nullrev:
532 if p2 == nullrev:
528 return [repo[p1]]
533 return [repo[p1]]
529 return [repo[p1], repo[p2]]
534 return [repo[p1], repo[p2]]
@@ -58,7 +58,6 b' Getting basic changeset inforation about'
58 Getting status of null
58 Getting status of null
59
59
60 $ hg status --change null
60 $ hg status --change null
61 debug.filters: computing revision filter for "visible"
62
61
63 Getting status of working copy
62 Getting status of working copy
64
63
General Comments 0
You need to be logged in to leave comments. Login now