hgk on windows

Evan Powers evan.powers+hg at gmail.com
Fri Jun 29 14:11:56 UTC 2007


On 6/28/07, Ville M. Vainio <vivainio at gmail.com> wrote:
> [extensions]
> hgext.hgk =
> [hgk]
> path=c:/mercurial/hgext/hgk.py

The import problem is because of a minor misunderstanding:

    [extensions]
    hgext.hgk = path/to/hgk.py
    [hgk]
    path="c:\path\to\hgk.cmd"

Since you've put hgk.py in the hgext directory, you can probably get
away with just "hgext.hgk=".

Of course, you'll still need Tcl; I recommend TclKit since it's a
single .exe file which you don't need to install.
    http://www.equi4.com/tclkit/

So, I drop tclkit-win32.exe, contrib/hgk, and hgext/hgk.py into the
Mercurial install directory, then write a quick batch file, hgk.cmd,
and put it there too:
    @set HG=c:\path\to\hg.exe
    @"c:\path\to\tclkit-win32.exe" "c:\path\to\hgk" %*

After that everything works fine for me.

- Evan



More information about the Mercurial mailing list