Show More
@@ -627,9 +627,16 class localrepository(object): | |||
|
627 | 627 | |
|
628 | 628 | def branchmap(self): |
|
629 | 629 | '''returns a dictionary {branch: [branchheads]}''' |
|
630 | if self.changelog.filteredrevs: | |
|
631 | # some changeset are excluded we can't use the cache | |
|
632 | branchmap = {} | |
|
633 | self._updatebranchcache(branchmap, (self[r] for r in self)) | |
|
634 | return branchmap | |
|
635 | else: | |
|
630 | 636 | self.updatebranchcache() |
|
631 | 637 | return self._branchcache |
|
632 | 638 | |
|
639 | ||
|
633 | 640 | def _branchtip(self, heads): |
|
634 | 641 | '''return the tipmost branch head in heads''' |
|
635 | 642 | tip = heads[-1] |
General Comments 0
You need to be logged in to leave comments.
Login now