180
187
from bzrlib.plugins.git.remote import RemoteGitDir, GitSmartTransport
181
188
if not isinstance(transport, GitSmartTransport):
182
189
raise bzr_errors.NotBranchError(transport.base)
188
190
from bzrlib.plugins.git.dir import GitLockableFiles, GitLock
189
191
lockfiles = GitLockableFiles(transport, GitLock())
190
192
return RemoteGitDir(transport, lockfiles, self)