/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

Merge fetch-spec-everything-not-in-other.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1703
1703
        self.heads = frozenset(heads)
1704
1704
        self.repo = repo
1705
1705
 
 
1706
    def __repr__(self):
 
1707
        if len(self.heads) > 5:
 
1708
            heads_repr = repr(list(self.heads)[:5] + ', ...]')
 
1709
        else:
 
1710
            heads_repr = repr(self.heads)
 
1711
        return '<%s heads:%s repo:%r>' % (
 
1712
            self.__class__.__name__, heads_repr, self.repo)
 
1713
 
1706
1714
    def get_recipe(self):
1707
1715
        """Return a recipe that can be used to replay this search.
1708
1716