[ANN] TortoiseHg 0.6 released

Steve Borho steve at borho.org
Thu Jan 22 16:46:46 UTC 2009


On Thu, Jan 22, 2009 at 10:39 AM, Alpár Jüttner <alpar at cs.elte.hu> wrote:

>
> > http://tortoisehg.wiki.sourceforge.net/hgtk
> > http://tortoisehg.wiki.sourceforge.net/Nautilus
> >
> > Be aware that the tip of TortoiseHg requires Mercurial 1.1 or later.
>
> Will it work with Python-2.6?
>
> I get this traceback with it:
>
> $ ./contrib/hgtk log
> Traceback (most recent call last):
>  File "./contrib/hgtk", line 464, 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 101, in runcommand
>    cmd, func, args, options, cmdoptions = _parse(ui, args)
>  File "./contrib/hgtk", line 49, in _parse
>    aliases, i = cmdutil.findcmd(ui, cmd, table)
>  File "/usr/lib/python2.6/site-packages/mercurial/cmdutil.py", line 52,
> in findcmd
>    choice = findpossible(cmd, table, strict)
>  File "/usr/lib/python2.6/site-packages/mercurial/cmdutil.py", line 29,
> in findpossible
>    for e in table.keys():
> AttributeError: 'str' object has no attribute 'keys'
>

No, that's a thg/mercurial version issue.  cmdutil.findcmd() no longer takes
a ui argument (since 10-22-08).  Did you update your hgtk file from
contrib/?

--
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20090122/224163f6/attachment-0001.html>


More information about the Mercurial mailing list