Problem with hgk

Patrick Mézard pmezard at gmail.com
Sat Apr 12 10:13:28 UTC 2008


Sean a écrit :
> Since installing 1.0 (on windows XP), hgk does not work.
> 
> It fails with an error:
> 
> (I can't work out how to copy TCL error output, so had to re-type the 
> most interesting bits of the error message.)
> ___________
> 
> Error reading commits: ** unknown exception encountered, details follow
> ** report bugs to http://www.selenic.com/mercurial/bts
> Mercurial Distributed SCM (version 1e4ddc9ac9f7+20080325)
> Traceback (most recent call last):
> Filem "hg", line 20, in ?
> File "mercurial\dispatch.pyc, line 20, in runexit
> 
> ....
> File "f:\apps\mercurial\hgext\hgk.py" line 308 in revlist
> revtree(copy, repo, full, opts['max_count'], opts['parents'])
> File "f:\apps\mercurial\hgext\hgk.py" line 258 in revtree
> if pp[0]!=hg.nullid:
> File "mercurial\demandimport.pyc", line 75 in __getattribute__
> AttributeError: 'module' object has no attribute 'nullid'
> ___________
> 
> I am not sure that hg 1.0 shipped a \contrib\hgk.tcl but I seem to be using:
> 
> # Modified version of Tip 171:
> # http://www.tcl.tk/cgi-bin/tct/tip/171.html

Try to get a more recent version of hgext/hgk.py and contrib/hgk (which you could rename in .tcl) from here:

	http://hg.intevation.org/mercurial/file/tip

--
Patrick Mézard



More information about the Mercurial mailing list