Show More
@@ -877,10 +877,11 b' class revlog(object):' | |||||
877 | return base |
|
877 | return base | |
878 |
|
878 | |||
879 | index = self.index |
|
879 | index = self.index | |
880 |
|
|
880 | iterrev = rev | |
881 |
|
|
881 | base = index[iterrev][3] | |
882 | rev = base |
|
882 | while base != iterrev: | |
883 | base = index[rev][3] |
|
883 | iterrev = base | |
|
884 | base = index[iterrev][3] | |||
884 |
|
885 | |||
885 | self._chainbasecache[rev] = base |
|
886 | self._chainbasecache[rev] = base | |
886 | return base |
|
887 | return base |
General Comments 0
You need to be logged in to leave comments.
Login now