Hmm. I tried using trunk, which required that I update bzrlib to version (2,4,0) or higher; so I upgraded bzr to 2.3.1 using the downloads from http://wiki.bazaar.canonical.com/MacOSXDownloads
Now I get a failed import:
bzr co git://android.git.kernel.org/platform/packages/apps/Launcher2.git launcher2
bzr: ERROR: exceptions.ImportError: cannot import name ZERO_SHA
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 926, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 1126, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 691, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 713, in run
return self._operation.run_simple(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
result = func(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1302, in run
branch_location)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 807, in open_tree_or_branch
return bzrdir._get_tree_branch()
File "/Library/Python/2.6/site-packages/bzrlib/controldir.py", line 559, in _get_tree_branch
branch = self.open_branch(name=name)
File "/Users/meta/.bazaar/plugins/git/remote.py", line 223, in open_branch
repo = self.open_repository()
File "/Users/meta/.bazaar/plugins/git/remote.py", line 220, in open_repository
return RemoteGitRepository(self, self._lockfiles)
File "/Users/meta/.bazaar/plugins/git/remote.py", line 307, in __init__
GitRepository.__init__(self, gitdir, lockfiles)
File "/Users/meta/.bazaar/plugins/git/repository.py", line 64, in __init__
from bzrlib.plugins.git import fetch, push
File "/Users/meta/.bazaar/plugins/git/fetch.py", line 23, in <module>
from dulwich.object_store import (
ImportError: cannot import name ZERO_SHA
Hmm. I tried using trunk, which required that I update bzrlib to version (2,4,0) or higher; so I upgraded bzr to 2.3.1 using the downloads from http:// wiki.bazaar. canonical. com/MacOSXDownl oads
Now I get a failed import:
bzr co git://android. git.kernel. org/platform/ packages/ apps/Launcher2. git launcher2 ImportError: cannot import name ZERO_SHA
bzr: ERROR: exceptions.
Traceback (most recent call last): Python/ 2.6/site- packages/ bzrlib/ commands. py", line 926, in exception_ to_return_ code Python/ 2.6/site- packages/ bzrlib/ commands. py", line 1126, in run_bzr Python/ 2.6/site- packages/ bzrlib/ commands. py", line 691, in run_argv_aliases **all_cmd_ args) Python/ 2.6/site- packages/ bzrlib/ commands. py", line 713, in run .run_simple( *args, **kwargs) Python/ 2.6/site- packages/ bzrlib/ cleanup. py", line 135, in run_simple Python/ 2.6/site- packages/ bzrlib/ cleanup. py", line 165, in _do_with_cleanups Python/ 2.6/site- packages/ bzrlib/ builtins. py", line 1302, in run location) Python/ 2.6/site- packages/ bzrlib/ bzrdir. py", line 807, in open_tree_or_branch _get_tree_ branch( ) Python/ 2.6/site- packages/ bzrlib/ controldir. py", line 559, in _get_tree_branch branch( name=name) meta/.bazaar/ plugins/ git/remote. py", line 223, in open_branch repository( ) meta/.bazaar/ plugins/ git/remote. py", line 220, in open_repository tory(self, self._lockfiles) meta/.bazaar/ plugins/ git/remote. py", line 307, in __init__ ry.__init_ _(self, gitdir, lockfiles) meta/.bazaar/ plugins/ git/repository. py", line 64, in __init__ meta/.bazaar/ plugins/ git/fetch. py", line 23, in <module> object_ store import (
File "/Library/
return the_callable(*args, **kwargs)
File "/Library/
ret = run(*run_argv)
File "/Library/
return self.run(
File "/Library/
return self._operation
File "/Library/
self.cleanups, self.func, *args, **kwargs)
File "/Library/
result = func(*args, **kwargs)
File "/Library/
branch_
File "/Library/
return bzrdir.
File "/Library/
branch = self.open_
File "/Users/
repo = self.open_
File "/Users/
return RemoteGitReposi
File "/Users/
GitReposito
File "/Users/
from bzrlib.plugins.git import fetch, push
File "/Users/
from dulwich.
ImportError: cannot import name ZERO_SHA
Looks like that's a dulwich problem?