On Thu, Jan 22, 2009 at 10:55 AM, Alpár Jüttner <[email protected]> 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 <[email protected]>
> > 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
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss