import and hg 0.9.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Hg Plugin |
Fix Released
|
High
|
Robert Collins |
Bug Description
Hi :)
With hg 0.9.4 there seems to be a new import override that causes bzr to die a painful death when importing bzr_hg:
zerok@
Unable to load plugin 'hg' from '/Users/
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/Users/
return run_bzr(argv)
File "/Users/
cmd_obj = get_cmd_object(cmd, plugins_
File "/Users/
return _get_cmd_
File "/Users/
cmds = _get_cmd_
File "/Users/
d = _builtin_commands()
File "/Users/
import bzrlib.builtins
File "/Users/
return _origimport(name, globals, locals, fromlist)
File "/Users/
class cmd_init(Command):
File "/Users/
registry=
File "/Users/
return getattr(obj, attr)
File "/Users/
self._load()
File "/Users/
mod = _origimport(head, globals, locals)
File "/Users/
class BzrDirFormat4(
File "/Users/
_lock_class = lockable_
File "/Users/
return getattr(obj, attr)
File "/Users/
self._load()
File "/Users/
mod = _origimport(head, globals, locals)
File "/Users/
import bzrlib.transactions as transactions
AttributeError: 'module' object has no attribute 'transactions'
mwhudson pointed me to this bug: http://
I then tried the following and it seems to work (have only tried pulling so far, though):
=== modified file '__init__.py'
--- __init__.py 2007-07-11 14:56:50 +0000
+++ __init__.py 2007-07-20 14:43:29 +0000
@@ -31,6 +31,9 @@
import os
import stat
+import mercurial.
+mercurial.
+
import mercurial.commands
import mercurial.cmdutil
import mercurial.hg
Changed in bzr-hg: | |
assignee: | timhatch → nobody |
Changed in bzr-hg: | |
assignee: | nobody → lifeless |
status: | Triaged → Fix Released |
I'm going to assign this to Tim Hatch, because he recently look in bzr-hg's direction, or something...