[ANN] TortoiseHg 0.6 released

Steve Borho steve at borho.org
Thu Jan 22 11:46:56 CST 2009


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

> On Thu, 2009-01-22 at 10:46 -0600, Steve Borho wrote:
> > 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>
> >      [....]
> >          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/?
>
> 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.

--
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090122/26925de6/attachment.htm 


More information about the Mercurial mailing list