/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 some places where we were way too much memory for repositories with a large number of entries in the inventory and a large number of revisions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
        from bzrlib.transport.local import LocalTransport
175
175
 
176
176
        if not isinstance(transport, LocalTransport):
177
 
            raise NotImplementedError(self.initialize, 
 
177
            raise NotImplementedError(self.initialize,
178
178
                "Can't create Git Repositories/branches on "
179
179
                "non-local transports")
180
180
        lazy_check_versions()
181
181
        from dulwich.repo import Repo
182
 
        Repo.create(transport.local_abspath(".").encode(osutils._fs_enc)) 
 
182
        Repo.create(transport.local_abspath(".").encode(osutils._fs_enc))
183
183
        return self.open(transport)
184
184
 
185
185
    def is_supported(self):