/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

Don't claim control directories can be accessed directly, always open the
branch itself.

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
                raise bzr_errors.NotBranchError(path=transport.base)
149
149
        except bzr_errors.NoSuchFile:
150
150
            raise bzr_errors.NotBranchError(path=transport.base)
 
151
        from bzrlib import urlutils
 
152
        if urlutils.split(transport.base)[1] == ".git":
 
153
            raise bzr_errors.NotBranchError(path=transport.base)
151
154
        lazy_check_versions()
152
155
        import dulwich
153
156
        format = klass()