[ANN] TortoiseHg 0.6 released

Alpár Jüttner alpar at cs.elte.hu
Fri Jan 23 04:51:05 CST 2009



>         Yes.
>         I tried it with the version tagged with 0.6 and with mercurial
>         1.1.2.
> 
> On the 0.6 tag of THG, that line of hgtk looks like this:
> 
>  aliases, i = cmdutil.findcmd(cmd, table, ui.config("ui", "strict"))
> 
> I think you've copied hgtk to your path somewhere and it needs
> to be updated.  In fact, I think it's safe now to simply symlink to
> hgtk into your path and it will figure out the correct path to the
> THG source.

I'm very sorry, I copied a wrong traceback. The right one is this:

$ ./contrib/hgtk log
Traceback (most recent call last):
  File "./contrib/hgtk", line 475, in <module>
    sys.exit(dispatch(sys.argv[1:]))
  File "./contrib/hgtk", line 36, in dispatch
    return _runcatch(u, args)
  File "./contrib/hgtk", line 76, in _runcatch
    return runcommand(ui, args)
  File "./contrib/hgtk", line 171, in runcommand
    return func(ui, *args, **cmdoptions)
  File "./contrib/hgtk", line 223, in log
    run(**opts)
  File
"/home/alpar/download/Devel/mercurial/tortoisehg/hggtk/history.py", line
630, in run
    dialog = GLog(u, repo, cwd, files, cmdoptions, True)
  File
"/home/alpar/download/Devel/mercurial/tortoisehg/hggtk/gdialog.py", line
103, in __init__
    self.settings = Settings(self.__class__.__name__)
  File "/home/alpar/download/Devel/mercurial/tortoisehg/hggtk/shlib.py",
line 59, in __init__
    self.read()
  File "/home/alpar/download/Devel/mercurial/tortoisehg/hggtk/shlib.py",
line 88, in read
    dbase = shelve.open(self._path)
  File "/usr/lib/python2.6/shelve.py", line 234, in open
    return DbfilenameShelf(filename, flag, protocol, writeback)
  File "/usr/lib/python2.6/shelve.py", line 218, in __init__
    Shelf.__init__(self, anydbm.open(filename, flag), protocol,
writeback)
  File "/usr/lib/python2.6/anydbm.py", line 82, in open
    mod = __import__(result)
  File "/usr/lib/python2.6/dbhash.py", line 8, in <module>
    import bsddb
  File "/usr/lib/python2.6/bsddb/__init__.py", line 64, in <module>
    import _bsddb
ImportError: No module named _bsddb


Isn't it possible that the problem is with the python-2.6 that I use?
(It is the default python package of openSuse11.1)

Best regards,
Alpar




More information about the Mercurial mailing list