Show More
@@ -142,8 +142,8 b' class filerevnav(revnav):' | |||||
142 | return hex(self._changelog.node(self._revlog.linkrev(rev))) |
|
142 | return hex(self._changelog.node(self._revlog.linkrev(rev))) | |
143 |
|
143 | |||
144 | class _siblings(object): |
|
144 | class _siblings(object): | |
145 |
def __init__(self, siblings= |
|
145 | def __init__(self, siblings=None, hiderev=None): | |
146 | self.siblings = [s for s in siblings if s.node() != nullid] |
|
146 | self.siblings = [s for s in siblings or [] if s.node() != nullid] | |
147 | if len(self.siblings) == 1 and self.siblings[0].rev() == hiderev: |
|
147 | if len(self.siblings) == 1 and self.siblings[0].rev() == hiderev: | |
148 | self.siblings = [] |
|
148 | self.siblings = [] | |
149 |
|
149 |
General Comments 0
You need to be logged in to leave comments.
Login now