AttributeError: 'HgBzrDirFormat' object has no attribute '_workingtree_format'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Hg Plugin |
Fix Released
|
Critical
|
Jelmer Vernooij |
Bug Description
I know bzr-hg isn't super mature, but just trying to branch a local hg repository, I get this error with the latest bzr 1.12dev, which prevents even trying it:
$ bzr branch upstream-hg/ upstream-bzr
*** failed to import extension hgext.inotify: 'module' object has no attribute 'inotify'
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
source_
File "/home/
cloning_format = self.cloning_
File "/home/
if format.
AttributeError: 'HgBzrDirFormat' object has no attribute '_workingtree_
bzr 1.12dev on python 2.5.2 (linux2)
arguments: ['/home/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bisect /home/wjlanda/
bzrtools /usr/lib/
cvsps_import /usr/lib/
gtk /home/wjlanda/
hg /home/wjlanda/
launchpad /home/wjlanda/
loom /usr/lib/
netrc_
qbzr /home/wjlanda/
rebase /usr/lib/
search /usr/lib/
stats /usr/lib/
svn /home/wjlanda/
upload /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
Related branches
- Launchpad code reviewers from Canonical: Pending requested
-
Diff: 729 lines (+257/-65)17 files modifiedMakefile (+3/-11)
NEWS (+21/-1)
README (+12/-0)
__init__.py (+48/-7)
branch.py (+19/-10)
commands.py (+55/-0)
fetch.py (+6/-4)
idmap.py (+2/-2)
info.py (+2/-2)
mapping.py (+8/-4)
parsers.py (+8/-5)
repository.py (+6/-1)
setup.py (+1/-1)
tests/__init__.py (+9/-2)
tests/test_dir.py (+42/-0)
tests/test_mapping.py (+1/-1)
tests/test_parsers.py (+14/-14)
It looks like this is either an api break in bzr (if it now requires that member) or a bug in bzg-hg.