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

Try to import nothing other than __init__ when not opening git repositories.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
from bzrlib.trace import info
24
24
from bzrlib.transport import Transport
25
25
 
26
 
from bzrlib.plugins.git import git
 
26
from bzrlib.plugins.git import lazy_check_versions
 
27
lazy_check_versions()
 
28
 
27
29
from bzrlib.plugins.git.branch import GitBranch
28
30
from bzrlib.plugins.git.errors import NoSuchRef
29
31
from bzrlib.plugins.git.dir import GitDir
35
37
import urllib
36
38
import urlparse
37
39
 
 
40
import dulwich as git
38
41
from dulwich.pack import PackData, Pack
39
42
 
40
43
# Don't run any tests on GitSmartTransport as it is not intended to be