win32 - ImportError: No module named bdiff

Marcos Chaves marcos.nospam at gmail.com
Sun Nov 12 19:14:05 CST 2006


Hi,

I just started with Mercurial today. After installing the win32
package (Mercurial-0.9.1-a27d90c9336e.exe) and cloning the main
repository, if I try 'hg log', this is what i get:

C:\dev\hg>hg log
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version unknown)
Traceback (most recent call last):
  File "hg", line 12, in ?
    commands.run()
  File "C:\dev\hg\mercurial\commands.py", line 3231, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "C:\dev\hg\mercurial\commands.py", line 3454, in dispatch
    return d()
  File "C:\dev\hg\mercurial\commands.py", line 3413, in <lambda>
    d = lambda: func(u, repo, *args, **cmdoptions)
  File "C:\dev\hg\mercurial\commands.py", line 1835, in log
    changeiter, matchfn = walkchangerevs(ui, repo, pats, getchange, opts)
  File "C:\dev\hg\mercurial\commands.py", line 102, in walkchangerevs
    revs = cmdutil.revrange(ui, repo, opts['rev'] or [defrange])
  File "C:\dev\hg\mercurial\cmdutil.py", line 56, in revrange
    start = revfix(repo, start, 0)
  File "C:\dev\hg\mercurial\cmdutil.py", line 50, in revfix
    return repo.changelog.rev(repo.lookup(val))
  File "C:\dev\hg\mercurial\localrepo.py", line 365, in lookup
    if key in self.tags():
  File "C:\dev\hg\mercurial\localrepo.py", line 248, in tags
    for rev, node, fnode in self._hgtagsnodes():
  File "C:\dev\hg\mercurial\localrepo.py", line 278, in _hgtagsnodes
    fnode = c.filenode('.hgtags')
  File "C:\dev\hg\mercurial\context.py", line 85, in filenode
    if '_manifestdelta' in self.__dict__ or path in self.files():
  File "C:\dev\hg\mercurial\context.py", line 65, in files
    def files(self): return self._changeset[3]
  File "C:\dev\hg\mercurial\context.py", line 46, in __getattr__
    self._changeset = self._repo.changelog.read(self.node())
  File "C:\dev\hg\mercurial\changelog.py", line 86, in read
    return self.extract(self.revision(node))
  File "C:\dev\hg\mercurial\revlog.py", line 913, in revision
    text = self.patches(text, bins)
  File "C:\dev\hg\mercurial\revlog.py", line 832, in patches
    return mdiff.patches(t, pl)
  File "C:\dev\hg\mercurial\demandload.py", line 61, in __getattribute__
    module = object.__getattribute__(self, 'module')()
  File "C:\dev\hg\mercurial\demandload.py", line 54, in module
    return object.__getattribute__(self, 'importer').module()
  File "C:\dev\hg\mercurial\demandload.py", line 30, in module
    self.fromlist)
  File "C:\dev\hg\mercurial\mdiff.py", line 9, in ?
    import bdiff, mpatch
ImportError: No module named bdiff

I hope this helps,

-Marcos

Obs.: thanks to the people on the IRC who helped with the merge tool
installation.


More information about the Mercurial mailing list