/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 __init__.py

Fix formatting, implement Repository.revision_trees().

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
 
158
158
 
159
159
class GitBranchFormat(bzrlib.branch.BranchFormat):
 
160
 
160
161
    def get_branch_description(self):
161
162
        return 'Git Branch'
162
163
 
305
306
        result.properties['git-tree-id'] = tree_id
306
307
        return result
307
308
 
 
309
    def revision_trees(self, revids):
 
310
        for revid in revids:
 
311
            yield self.revision_tree(revid)
 
312
 
308
313
    def revision_tree(self, revision_id):
309
314
        return GitRevisionTree(self, revision_id)
310
315