/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 fastexport-based tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
221
221
                "non-local transports")
222
222
        lazy_check_versions()
223
223
        from dulwich.repo import Repo
224
 
        Repo.init(transport.local_abspath(".").encode(osutils._fs_enc),
225
 
            bare=self.bare)
 
224
        path = transport.local_abspath(".").encode(osutils._fs_enc)
 
225
        if self.bare:
 
226
            Repo.init_bare(path)
 
227
        else:
 
228
            Repo.init(path)
226
229
        return self.open(transport)
227
230
 
228
231
    def is_supported(self):